summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 410d35cf0..066f2d58b 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1339,7 +1339,7 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable
} else {
if (ti.type == MP_WATER && ti.map5 == 0)
return false;
- if (ti.tileh & 0x10)
+ if (IsSteepTileh(ti.tileh))
return false;
if (ti.tileh != 0) {