diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 21:00:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 21:00:14 +0000 |
commit | 7a72dcb3b57b70214c4d402be89f9b1dd158d790 (patch) | |
tree | 1ba3bbf25a5886a7f40a02d3403d53c57e634d75 /src/misc_gui.cpp | |
parent | 26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e (diff) | |
download | openttd-7a72dcb3b57b70214c4d402be89f9b1dd158d790.tar.xz |
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index ff3db74af..2444aa27b 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -103,11 +103,10 @@ static void Place_LandInfo(TileIndex tile) p = GetPlayer(IsValidPlayer(_local_player) ? _local_player : PLAYER_FIRST); t = ClosestTownFromTile(tile, _patches.dist_local_authority); - old_money = p->money64; - p->money64 = p->player_money = 0x7fffffff; + old_money = p->player_money; + p->player_money = 0x7fffffff; costclear = DoCommand(tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR); - p->money64 = old_money; - UpdatePlayerMoney32(p); + p->player_money = old_money; /* Because build_date is not set yet in every TileDesc, we make sure it is empty */ td.build_date = 0; |