diff options
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 8e17ef800..788396d4b 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1185,6 +1185,7 @@ static const Town *CheckMultipleIndustryInTown(TileIndex tile, int type) 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 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable if (IsClearWaterTile(cur_tile)) return false; tileh = GetTileSlope(cur_tile, NULL); - if (IsSteepSlope(tileh)) return false; refused_slope |= IsSlopeRefused(tileh, its->slopes_refused); } |