mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 19:54:06 +01:00
(svn r27864) [1.7] -Backport from trunk:
- Fix: Add missing game script event for ships arriving at a station [FS#6560] (r27859, r27858) - Fix: StringID truncation to 16 bits broke string remapping test [FS#6555] (r27851) - Fix: Infinite loop in pathfinder when checking safe waiting position from a waypoint [FS#5926] (r27846) - Fix: [YAPF] Consider depot as destination before reversing path and applying penalty (r27843) - Fix: Don't consider locks or ship depots as clear water when placing industries (r27841) - Fix: Small news window's fake caption was not sized to fit its text (r27838)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user