diff options
author | rubidium <rubidium@openttd.org> | 2008-06-05 11:26:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-05 11:26:38 +0000 |
commit | 9e811a2f8be9c69807acef3c727e4022be2cd9c0 (patch) | |
tree | e63519c8e5c875e772b1fd4a458ac9cf260d4ce2 /src/oldloader.cpp | |
parent | 9b971dab60ad98c1444cc79c6dc3802f529f10e2 (diff) | |
download | openttd-9e811a2f8be9c69807acef3c727e4022be2cd9c0.tar.xz |
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index 9350b081a..48be7dfac 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -1572,8 +1572,8 @@ static const OldChunks main_chunk[] = { OCL_VAR ( OC_FILE_U8 | OC_VAR_U16, 1, &_station_tick_ctr ), - OCL_VAR ( OC_UINT8, 1, &_settings_client.gui.currency ), - OCL_VAR ( OC_UINT8, 1, &_settings_client.gui.units ), + OCL_VAR ( OC_UINT8, 1, &_settings_game.locale.currency ), + OCL_VAR ( OC_UINT8, 1, &_settings_game.locale.units ), OCL_VAR ( OC_FILE_U8 | OC_VAR_U32, 1, &_cur_player_tick_index ), OCL_NULL( 2 ), ///< Date stuff, calculated automatically |