summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-19 19:04:25 +0000
committerrubidium <rubidium@openttd.org>2007-06-19 19:04:25 +0000
commit0d623dbed4d9fc3691d3b0e7ec7942e2c7e60320 (patch)
treea43dd29d45f907f97b79ea98b6e8d131565aa4eb
parent9efe1d6776aca558457b8741b1b704a813547fa0 (diff)
downloadopenttd-0d623dbed4d9fc3691d3b0e7ec7942e2c7e60320.tar.xz
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
-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 3a5434afd..c69ff0d99 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 == SLOPE_STEEP | 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;