[Freeciv-Dev] (PR#14753) worklist saved localized unit&production names
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#14753) worklist saved localized unit&production names |
From: |
"Bernd Pol" <bernd.pol@xxxxxxxxx> |
Date: |
Sat, 3 Dec 2005 03:41:13 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14753 >
Hi,
worklist save/restore wasn't functional in localized freeciv sessions
because localized names were stored in the game save files.
Greetings,
Bernd
--- worklist.c.orig 2005-10-22 20:55:21.000000000 +0200
+++ worklist.c 2005-12-03 12:19:35.000000000 +0100
@@ -290,8 +290,8 @@
for (i = 0; i < pwl->length; i++) {
struct city_production *entry = pwl->entries + i;
const char *name = (entry->is_unit
- ? get_unit_type(entry->value)->name
- : get_improvement_type(entry->value)->name);
+ ? get_unit_type(entry->value)->name_orig
+ : get_improvement_type(entry->value)->name_orig);
secfile_insert_bool(file, entry->is_unit,
"%s.wl_is_unit%d", path_str, i);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#14753) worklist saved localized unit&production names,
Bernd Pol <=
|
|