Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7131) client orders to replace client goto
Home

[Freeciv-Dev] Re: (PR#7131) client orders to replace client goto

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7131) client orders to replace client goto
From: "Arnstein Lindgard" <a-l@xxxxxxx>
Date: Fri, 9 Jan 2004 10:11:04 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7131 >

Bug.


Arnstein

--- server/savegame.c   Fri Jan  9 18:35:00 2004
+++ server/bugfix.c     Fri Jan  9 18:35:10 2004
@@ -1093,7 +1093,7 @@ static void player_load(struct player *p
        orders_buf = secfile_lookup_str_default(file, "",
                        "player%d.u%d.orders_list", plrno, i);
        dir_buf = secfile_lookup_str_default(file, "",
-                       "player%d.u%d.orders_dirs", plrno, i);
+                       "player%d.u%d.dir_list", plrno, i);
        for (j = 0; j < len; j++) {
          if (orders_buf[j] == '\0' || dir_buf == '\0') {
            freelog(LOG_ERROR, _("Savegame error: invalid unit orders."));

[Prev in Thread] Current Thread [Next in Thread]