(svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex

Remove DoCommandByTile(), because now it does the same as DoCommand()
This commit is contained in:
tron
2006-04-10 07:15:58 +00:00
parent b0b5641639
commit 35e93e451f
38 changed files with 434 additions and 460 deletions

View File

@@ -147,7 +147,7 @@ static void Place_LandInfo(TileIndex tile)
old_money = p->money64;
p->money64 = p->player_money = 0x7fffffff;
lid.costclear = DoCommandByTile(tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR);
lid.costclear = DoCommand(tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR);
p->money64 = old_money;
UpdatePlayerMoney32(p);