(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
authorrubidium
Tue, 19 Jun 2007 15:34:43 +0000
changeset 6963 450874765194
parent 6962 3e925700b4c8
child 6964 500951fcc645
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
src/clear_cmd.cpp
--- a/src/clear_cmd.cpp	Tue Jun 19 15:26:10 2007 +0000
+++ b/src/clear_cmd.cpp	Tue Jun 19 15:34:43 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 == 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;