From efd6cb4645fe68f40e7f409a507d7904820ef9cf Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 31 Mar 2022 17:48:38 +0300 Subject: [PATCH] Fix build it was pushed there. See osdn #44236 Signed-off-by: Marko Lindqvist --- server/rscompat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/rscompat.c b/server/rscompat.c index 0a45af8d2d..9cdfdc9f70 100644 --- a/server/rscompat.c +++ b/server/rscompat.c @@ -2197,7 +2197,7 @@ void rscompat_extra_adjust_3_1(struct rscompat_info *compat, const char *rscompat_action_ui_name_S3_1(struct rscompat_info *compat, int act_id) { - if (compat->compat_mode && compat->ver_game < RSFORMAT_3_1) { + if (compat->compat_mode && compat->version < RSFORMAT_3_1) { if (act_id == ACTION_DISBAND_UNIT_RECOVER) { return "ui_name_recycle_unit"; } @@ -2212,7 +2212,7 @@ const char *rscompat_action_ui_name_S3_1(struct rscompat_info *compat, const char *rscompat_action_max_range_name_S3_1(struct rscompat_info *compat, int act_id) { - if (compat->compat_mode && compat->ver_game < RSFORMAT_3_1) { + if (compat->compat_mode && compat->version < RSFORMAT_3_1) { if (act_id == ACTION_DISBAND_UNIT_RECOVER) { return "recycle_unit_max_range"; } -- 2.35.1