summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-05 11:26:38 +0000
committerrubidium <rubidium@openttd.org>2008-06-05 11:26:38 +0000
commite8767f730a83fbe4b8996d872380f844ce47438e (patch)
treee63519c8e5c875e772b1fd4a458ac9cf260d4ce2 /src/openttd.cpp
parentecfac35ccc449f59a41c25649ef49cf7c4da37c5 (diff)
downloadopenttd-e8767f730a83fbe4b8996d872380f844ce47438e.tar.xz
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 50bebca62..2bf7ce337 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1178,7 +1178,7 @@ static const byte convert_currency[] = {
/* since savegame version 4.2 the currencies are arranged differently */
static void UpdateCurrencies()
{
- _settings_client.gui.currency = convert_currency[_settings_client.gui.currency];
+ _settings_game.locale.currency = convert_currency[_settings_game.locale.currency];
}
/* Up to revision 1413 the invisible tiles at the southern border have not been