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