summaryrefslogtreecommitdiff
path: root/src/oldloader.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-25 16:10:34 +0000
committerbelugas <belugas@openttd.org>2008-08-25 16:10:34 +0000
commitde43d17a8253a7fb081a67117a15cf089b18c549 (patch)
tree939b2bf0ef664550aa207ba7a014be3c9614adb9 /src/oldloader.cpp
parent7b632aa8aa8a754234b82fc911f185c500bd6768 (diff)
downloadopenttd-de43d17a8253a7fb081a67117a15cf089b18c549.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.cpp6
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'