<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39581 >

 Game crashes if started with default settings. Will commit attached
fix immediately.


 - ML

diff -Nurd -X.diff_ignore freeciv/common/game.c freeciv/common/game.c
--- freeciv/common/game.c	2007-08-17 23:34:56.000000000 +0300
+++ freeciv/common/game.c	2007-08-17 23:59:48.000000000 +0300
@@ -262,7 +262,9 @@
   game.timeoutinc    = GAME_DEFAULT_TIMEOUTINC;
   game.timeoutincmult= GAME_DEFAULT_TIMEOUTINCMULT;
   game.timeoutcounter= 1;
-  game.timeoutaddenemymove = GAME_DEFAULT_TIMEOUTADDEMOVE; 
+  game.timeoutaddenemymove = GAME_DEFAULT_TIMEOUTADDEMOVE;
+  game.info.aifill      = GAME_DEFAULT_AIFILL;
+  sz_strlcpy(game.info.start_units, GAME_DEFAULT_START_UNITS);
 
   game.last_ping     = 0;
   game.scorelog    = GAME_DEFAULT_SCORELOG;
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to