diff src/clear_cmd.cpp @ 6972:a728f84a1679 draft

(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
author rubidium <rubidium@openttd.org>
date Tue, 19 Jun 2007 19:04:25 +0000
parents 5e780ce5c0c7
children 5471b9efc25d
line wrap: on
line diff
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -116,7 +116,7 @@
 		 * 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;