(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.

This commit is contained in:
rubidium
2007-06-18 21:00:14 +00:00
parent 6785ea670f
commit 7dda2d93da
10 changed files with 24 additions and 45 deletions

View File

@@ -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;