(svn r27841) -Fix: Don't consider locks or ship depots as clear water when placing industries.

This commit is contained in:
peter1138 2017-04-02 17:36:53 +00:00
parent f17d38598a
commit 7e915f8bc7

View File

@ -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);
}