@@ -1182,12 +1182,13 @@ static const Town *CheckMultipleIndustry
return t;
}
bool IsSlopeRefused(Slope current, Slope refused)
{
if (IsSteepSlope(current)) return true;
if (current != SLOPE_FLAT) {
if (refused & SLOPE_STEEP) return true;
Slope t = ComplementSlope(current);
if (refused & 1 && (t & SLOPE_NW)) return false;
@@ -1239,13 +1240,12 @@ static bool CheckIfIndustryTilesAreFree(
} else {
Slope tileh;
if (IsClearWaterTile(cur_tile)) return false;
tileh = GetTileSlope(cur_tile, NULL);
if (IsSteepSlope(tileh)) return false;
refused_slope |= IsSlopeRefused(tileh, its->slopes_refused);
if (ind_behav & INDUSTRYBEH_ONLY_INTOWN) {
Status change: