From 0d623dbed4d9fc3691d3b0e7ec7942e2c7e60320 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 19 Jun 2007 19:04:25 +0000 Subject: (svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff? --- src/clear_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2