mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 09:52:44 +01:00
Fix #8020: Add missing docking tiles around industry neutral stations
This commit is contained in:
committed by
Charles Pigott
parent
a82dca883f
commit
d4bd17d443
@@ -613,6 +613,7 @@ bool IsShipDestinationTile(TileIndex tile, StationID station)
|
||||
const Industry *i = Industry::GetByTile(t);
|
||||
if (i->neutral_station != nullptr && i->neutral_station->index == station) return true;
|
||||
}
|
||||
if (IsTileType(t, MP_STATION) && IsOilRig(t) && GetStationIndex(t) == station) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user