src/industry_cmd.cpp
changeset 7733 bc007653ce57
parent 7676 926233c6e06a
child 7739 0b6f3da5c083
--- a/src/industry_cmd.cpp	Mon Oct 15 17:58:42 2007 +0000
+++ b/src/industry_cmd.cpp	Mon Oct 15 18:36:20 2007 +0000
@@ -1185,6 +1185,7 @@
 
 bool IsSlopeRefused(Slope current, Slope refused)
 {
+	if (IsSteepSlope(current)) return true;
 	if (current != SLOPE_FLAT) {
 		if (refused & SLOPE_STEEP) return true;
 
@@ -1242,7 +1243,6 @@
 					if (IsClearWaterTile(cur_tile)) return false;
 
 					tileh = GetTileSlope(cur_tile, NULL);
-					if (IsSteepSlope(tileh)) return false;
 
 					refused_slope |= IsSlopeRefused(tileh, its->slopes_refused);
 				}