Author: cazfi
Date: Thu Jan  5 07:49:33 2017
New Revision: 34788

URL: http://svn.gna.org/viewcvs/freeciv?rev=34788&view=rev
Log:
When loading saved game, always lookup action decision tiles.

Reported by Christian Knoke <chrisk>

See bug #25405

Modified:
    branches/S2_6/server/savegame2.c

Modified: branches/S2_6/server/savegame2.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/savegame2.c?rev=34788&r1=34787&r2=34788&view=diff
==============================================================================
--- branches/S2_6/server/savegame2.c    (original)
+++ branches/S2_6/server/savegame2.c    Thu Jan  5 07:49:33 2017
@@ -5971,6 +5971,8 @@
       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;
   }
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to