src/clear_cmd.cpp
changeset 6972 211a070691f3
parent 6963 450874765194
child 6974 952d742f6dee
--- 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;