From a0991567d8aed64ff51be8c1887c020b0a72bf04 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 14 Oct 2021 01:20:34 +0300 Subject: [PATCH 55/55] Set default range of Good requirement to a valid one Reported by ihnatus See osdn #42989 Signed-off-by: Marko Lindqvist --- common/requirements.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/requirements.c b/common/requirements.c index fa7441dfad..84e20099ef 100644 --- a/common/requirements.c +++ b/common/requirements.c @@ -763,7 +763,6 @@ struct requirement req_from_str(const char *type, const char *range, case VUT_IMPROVEMENT: case VUT_IMPR_GENUS: case VUT_EXTRA: - case VUT_GOOD: case VUT_TERRAIN: case VUT_TERRFLAG: case VUT_UTYPE: @@ -794,6 +793,7 @@ struct requirement req_from_str(const char *type, const char *range, case VUT_MINFOREIGNPCT: case VUT_NATIONALITY: case VUT_CITYSTATUS: + case VUT_GOOD: req.range = REQ_RANGE_CITY; break; case VUT_GOVERNMENT: -- 2.33.0