summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 4fdc306d4..3f1aa0613 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1262,7 +1262,7 @@ static CommandCost CheckNewIndustry_Lumbermill(TileIndex tile)
*/
static CommandCost CheckNewIndustry_BubbleGen(TileIndex tile)
{
- if (GetTilePixelZ(tile) > TILE_HEIGHT * 4) {
+ if (GetTileZ(tile) > 4) {
return_cmd_error(STR_ERROR_CAN_ONLY_BE_BUILT_IN_LOW_AREAS);
}
return CommandCost();