(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
authorrubidium
Tue, 19 Jun 2007 19:04:25 +0000
changeset 6972 211a070691f3
parent 6971 6dd4632b7c1d
child 6973 f2bede421a29
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
src/clear_cmd.cpp
--- a/src/clear_cmd.cpp	Tue Jun 19 17:43:30 2007 +0000
+++ b/src/clear_cmd.cpp	Tue Jun 19 19:04:25 2007 +0000
@@ -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;