summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-19 15:34:43 +0000
committerrubidium <rubidium@openttd.org>2007-06-19 15:34:43 +0000
commit265f8b7d5d0ce323a9e5e9a4a6095799c606caf2 (patch)
tree7832dcd5f4e15eb133fa56b2aa0370f84d4c765a /src
parentfc3ec8689b82f1241769ea346fff666460ccfddb (diff)
downloadopenttd-265f8b7d5d0ce323a9e5e9a4a6095799c606caf2.tar.xz
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
Diffstat (limited to 'src')
-rw-r--r--src/clear_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp
index 6d9d0fca2..3a5434afd 100644
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -116,7 +116,7 @@ static int TerraformProc(TerraformerState *ts, TileIndex tile, int mode)
* basement and then you raise/lower the other corner. */
tileh = GetTileSlope(tile, &z);
if (tileh == unsafe_slope[mode] ||
- tileh == ComplementSlope(unsafe_slope[mode])) {
+ tileh == SLOPE_STEEP | ComplementSlope(unsafe_slope[mode])) {
_terraform_err_tile = tile;
_error_message = STR_1008_MUST_REMOVE_RAILROAD_TRACK;
return -1;