From c0468398d06c2e184d1d5718fb3823a22645a0df Mon Sep 17 00:00:00 2001 From: cazfi Date: Thu, 5 Jan 2017 06:49:33 +0000 Subject: [PATCH] When loading saved game, always lookup action decision tiles. Reported by Christian Knoke See bug #25405 git-svn-id: svn://svn.gna.org/svn/freeciv/branches/S2_6@34788 a0f10bec-cc02-0410-94fc-a9cfff90b4cd --- server/savegame2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/savegame2.c b/server/savegame2.c index 14a512cad2..de584ed8f8 100644 --- a/server/savegame2.c +++ b/server/savegame2.c @@ -5971,6 +5971,8 @@ static bool sg_load_player_unit(struct loaddata *loading, log_sg("Bad action_decision_tile for unit %d", punit->id); } } else { + (void) secfile_entry_lookup(loading->file, "%s.action_decision_tile_x", unitstr); + (void) secfile_entry_lookup(loading->file, "%s.action_decision_tile_y", unitstr); punit->action_decision_tile = NULL; } -- 2.11.4.GIT