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

2009/1/17 Mark Metson:
>
> Okay, found it in forum: "Unknown ascii value for num: '?' 63."


 Fix


 - ML

diff -Nurd -X.diff_ignore freeciv/server/savegame.c freeciv/server/savegame.c
--- freeciv/server/savegame.c   2009-01-16 19:47:45.000000000 +0200
+++ freeciv/server/savegame.c   2009-01-17 12:38:46.000000000 +0200
@@ -1921,7 +1921,7 @@
             /* Either ACTIVITY_FORTRESS or ACTIVITY_AIRBASE */
             order->activity = ACTIVITY_BASE;
             order->base = base_number(pbase);
-          } else if (base_buf) {
+          } else if (base_buf && base_buf[j] != '?') {
             base = char2num(base_buf[j]);
 
             if (base >= 0
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to