summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 16:17:08 +0000
committertron <tron@openttd.org>2006-02-01 16:17:08 +0000
commit272a27b795776e42ae33d38f42bb648e0ac227e8 (patch)
treefde1b67d0d3b2a50110949e29270acb78a11ecc4
parentac4f4e30d59aa3661128d51e2a34b7d0a4958de8 (diff)
downloadopenttd-272a27b795776e42ae33d38f42bb648e0ac227e8.tar.xz
(svn r3515) Fix copy&pasto in r3514
-rw-r--r--clear_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clear_cmd.c b/clear_cmd.c
index 13c73ce80..dd1d1a239 100644
--- a/clear_cmd.c
+++ b/clear_cmd.c
@@ -556,7 +556,7 @@ void TileLoopClearHelper(TileIndex tile)
byte neighbour;
TileIndex dirty = INVALID_TILE;
- self = (IsTileType(tile, MP_CLEAR) && IsClearGround(TILE_ADDXY(tile, 1, 0), CL_FIELDS));
+ self = (IsTileType(tile, MP_CLEAR) && IsClearGround(tile, CL_FIELDS));
neighbour = (IsTileType(TILE_ADDXY(tile, 1, 0), MP_CLEAR) && IsClearGround(TILE_ADDXY(tile, 1, 0), CL_FIELDS));
if (GB(_m[tile].m4, 5, 3) == 0) {