diff options
author | tron <tron@openttd.org> | 2006-04-10 07:15:58 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-10 07:15:58 +0000 |
commit | 81e6d68f95e7dea5c0d7dd105d67980d64af71e0 (patch) | |
tree | f8613338e934555520fd9b45b411e8a946c5be7a /misc_gui.c | |
parent | 6926bd55fd4f1d36745082b668b052c1b6691ad8 (diff) | |
download | openttd-81e6d68f95e7dea5c0d7dd105d67980d64af71e0.tar.xz |
(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()
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index 402940d2f..3f4e8161a 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -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); |