Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13440) Save starting position nations by original name
Home

[Freeciv-Dev] (PR#13440) Save starting position nations by original name

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13440) Save starting position nations by original name
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sat, 9 Jul 2005 13:58:16 -0700
Reply-to: bugs@xxxxxxxxxxx

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

nations on starting positions should be saved by untranslated name.
--
mateusz
Index: server/savegame.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/savegame.c,v
retrieving revision 1.260
diff -u -r1.260 savegame.c
--- server/savegame.c   9 Jul 2005 17:46:09 -0000       1.260
+++ server/savegame.c   9 Jul 2005 20:57:19 -0000
@@ -800,7 +800,8 @@
       secfile_insert_int(file, ptile->nat_y, "map.r%dsy", i);
 
       if (map.start_positions[i].nation != NO_NATION_SELECTED) {
-       const char *nation = get_nation_name(map.start_positions[i].nation);
+       const char *nation = 
+         get_nation_name_orig(map.start_positions[i].nation);
 
        secfile_insert_str(file, nation, "map.r%dsnation", i);
       }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13440) Save starting position nations by original name, Mateusz Stefek <=