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

2009/1/2 Matthias Pfafferodt:
>
> see engineer near Vigo; after that turn the fortress will be build save the
> game and reload it -> no fortress

 Fix


 - ML

diff -Nurd -X.diff_ignore freeciv/server/savegame.c freeciv/server/savegame.c
--- freeciv/server/savegame.c   2008-12-19 17:45:57.000000000 +0200
+++ freeciv/server/savegame.c   2009-01-03 13:08:22.000000000 +0200
@@ -1181,7 +1181,7 @@
     int l;
 
     for (l = 0; l < 4; l++) {
-      mod[l] = MIN(4 * j + l, -1);
+      mod[l] = MAX(4 * j + l, -1);
     }
     sprintf (buf, "map.b%02d_%%03d", j);
     SAVE_NORMAL_MAP_DATA(ptile, file, buf,
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to