From 5b6645f3c3a0ccdbc9368c4e82e01a461fd35cd3 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 18 Aug 2022 04:09:04 +0300 Subject: [PATCH 25/25] rscompat: Replace illegal "Tile" range with "Local" Adding new EFT_MIN_HP_PCT, when updating from S3_0 ruleset, was setting illegal "Tile" range for its requirement. See osdn #45388 Signed-off-by: Marko Lindqvist --- server/rscompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rscompat.c b/server/rscompat.c index c6b75b7750..47ce995c8a 100644 --- a/server/rscompat.c +++ b/server/rscompat.c @@ -1053,7 +1053,7 @@ void rscompat_postprocess(struct rscompat_info *info) /* The rule that unit in a city has at least 1/3 of its HP in the * beginning of the new turn has moved to the ruleset. */ peffect = effect_new(EFT_MIN_HP_PCT, 33, NULL); - effect_req_append(peffect, req_from_str("CityTile", "Tile", FALSE, TRUE, + effect_req_append(peffect, req_from_str("CityTile", "Local", FALSE, TRUE, FALSE, "Center")); /* The base unit regeneration rule is in ruleset now. */ -- 2.35.1