From a5efc8f13a0b1c87e152ae520b8faa8611481094 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 21 Mar 2023 04:27:53 +0200 Subject: [PATCH 35/35] Stop accepting "Transport Alight" action name even in compat mode It was not legal in freeciv-3.2. See osdn #47622 Signed-off-by: Marko Lindqvist --- common/actions.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/actions.c b/common/actions.c index 0377955690..1f991b92ee 100644 --- a/common/actions.c +++ b/common/actions.c @@ -9480,11 +9480,12 @@ bool action_ever_possible(action_id action) **************************************************************************/ const char *gen_action_name_update_cb(const char *old_name) { + /* Uncomment and fill implementation, if compat mode + * action name conversions needed. */ +#if 0 if (is_ruleset_compat_mode()) { - if (!fc_strcasecmp("Transport Alight", old_name)) { - return "Transport Deboard"; - } } +#endif return old_name; } -- 2.39.2