summaryrefslogtreecommitdiff
path: root/terraform_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-06-25 16:44:57 +0000
committertron <tron@openttd.org>2005-06-25 16:44:57 +0000
commit9617614b04b7e2981ebff5074b55778381ca8b20 (patch)
treeed8629cbd76a9334fd657971f55ef5cb63c9915f /terraform_gui.c
parent2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (diff)
downloadopenttd-9617614b04b7e2981ebff5074b55778381ca8b20.tar.xz
(svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Diffstat (limited to 'terraform_gui.c')
-rw-r--r--terraform_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index 78bbc1b10..ee1f082f7 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -47,7 +47,7 @@ static void GenerateDesertArea(TileIndex end, TileIndex start)
size_y = (ey - sy) + 1;
_generating_world = true;
- BEGIN_TILE_LOOP(tile, size_x, size_y, TILE_XY(sx, sy)) {
+ BEGIN_TILE_LOOP(tile, size_x, size_y, TileXY(sx, sy)) {
if (GetTileType(tile) != MP_WATER) {
SetMapExtraBits(tile, (_ctrl_pressed) ? 0 : 1);
DoCommandP(tile, 0, 0, NULL, CMD_LANDSCAPE_CLEAR);