mirror of https://github.com/OpenTTD/OpenTTD
(svn r27841) -Fix: Don't consider locks or ship depots as clear water when placing industries.
parent
d51defb0b9
commit
27033a2231
|
@ -1383,7 +1383,7 @@ static CommandCost CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTil
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gfx == GFX_WATERTILE_SPECIALCHECK) {
|
if (gfx == GFX_WATERTILE_SPECIALCHECK) {
|
||||||
if (!IsTileType(cur_tile, MP_WATER) ||
|
if (!IsWaterTile(cur_tile) ||
|
||||||
!IsTileFlat(cur_tile)) {
|
!IsTileFlat(cur_tile)) {
|
||||||
return_cmd_error(STR_ERROR_SITE_UNSUITABLE);
|
return_cmd_error(STR_ERROR_SITE_UNSUITABLE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue