diff options
author | belugas <belugas@openttd.org> | 2008-08-25 16:10:34 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-25 16:10:34 +0000 |
commit | 08898f69bebd4ed5fc866aeb31406cc512ed7fcf (patch) | |
tree | 939b2bf0ef664550aa207ba7a014be3c9614adb9 /src/oldloader.cpp | |
parent | cf52b683c0a478b113bd25893f49554906edb32f (diff) | |
download | openttd-08898f69bebd4ed5fc866aeb31406cc512ed7fcf.tar.xz |
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index 5af1de8c2..f7a0834c6 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -993,7 +993,7 @@ static const OldChunks player_chunk[] = { OCL_SVAR( OC_UINT8, Player, block_preview ), OCL_VAR( OC_UINT8, 1, &ai_tick ), OCL_SVAR( OC_UINT8, Player, avail_railtypes ), - OCL_SVAR( OC_TILE, Player, location_of_house ), + OCL_SVAR( OC_TILE, Player, location_of_HQ ), OCL_SVAR( OC_UINT8, Player, share_owners[0] ), OCL_SVAR( OC_UINT8, Player, share_owners[1] ), OCL_SVAR( OC_UINT8, Player, share_owners[2] ), @@ -1041,8 +1041,8 @@ static bool LoadOldPlayer(LoadgameState *ls, int num) _player_colors[num] = p->player_color; p->inaugurated_year -= ORIGINAL_BASE_YEAR; - if (p->location_of_house == 0xFFFF) - p->location_of_house = 0; + if (p->location_of_HQ == 0xFFFF) + p->location_of_HQ = 0; /* State 20 for AI players is sell vehicle. Since the AI struct is not * really figured out as of now, _players_ai[p->index].cur_veh; needed for 'sell vehicle' |