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
commit41dda81b298110966132f2ebc7200ddf3d0945ae (patch)
treefde1b67d0d3b2a50110949e29270acb78a11ecc4
parent5e0c8a239ea9e57594e3f1663e5c3b2a3fe575ca (diff)
downloadopenttd-41dda81b298110966132f2ebc7200ddf3d0945ae.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) {