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
commit9e811a2f8be9c69807acef3c727e4022be2cd9c0 (patch)
treee63519c8e5c875e772b1fd4a458ac9cf260d4ce2 /src/openttd.cpp
parent9b971dab60ad98c1444cc79c6dc3802f529f10e2 (diff)
downloadopenttd-9e811a2f8be9c69807acef3c727e4022be2cd9c0.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