From 854311bf3217acafe2f5eac1b20432af5d371d9a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 14 Oct 2021 01:26:21 +0300 Subject: [PATCH 20/20] 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 8d02ce4d4a..89d9c555ff 100644 --- a/common/requirements.c +++ b/common/requirements.c @@ -703,7 +703,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: @@ -730,6 +729,7 @@ struct requirement req_from_str(const char *type, const char *range, case VUT_MINSIZE: case VUT_MINCULTURE: case VUT_NATIONALITY: + case VUT_GOOD: req.range = REQ_RANGE_CITY; break; case VUT_GOVERNMENT: -- 2.33.0