From cef947cfccab4b080f8aaeec15d271b917910ccb Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 23 Apr 2021 02:13:45 +0300 Subject: [PATCH 51/51] Add dev savecompat block for 3.1.90 - 3.1.91 See osdn #42060 Signed-off-by: Marko Lindqvist --- server/savegame/savecompat.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/server/savegame/savecompat.c b/server/savegame/savecompat.c index a01cb6925e..9b5d072f99 100644 --- a/server/savegame/savecompat.c +++ b/server/savegame/savecompat.c @@ -2192,6 +2192,12 @@ static void compat_load_dev(struct loaddata *loading) #endif /* FREECIV_DEV_SAVE_COMPAT_3_1 */ #ifdef FREECIV_DEV_SAVE_COMPAT_3_2 + + if (game_version < 3019100) { + /* Before version number bump to 3.1.91 */ + + } /* Version < 3.1.91 */ + #endif /* FREECIV_DEV_SAVE_COMPAT_3_2 */ } @@ -2261,6 +2267,15 @@ static void compat_post_load_dev(struct loaddata *loading) } unit_list_iterate_end; } players_iterate_alive_end; } /* Version < 3.0.93 */ + +#ifdef FREECIV_DEV_SAVE_COMPAT_3_2 + + if (game_version < 3019100) { + /* Before version number bump to 3.1.91 */ + + } /* Version < 3.1.91 */ + +#endif /* FREECIV_DEV_SAVE_COMPAT_3_2 */ } #endif /* FREECIV_DEV_SAVE_COMPAT */ -- 2.30.2