1
0
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:
SamuXarick
2020-02-24 22:49:11 +00:00
committed by Charles Pigott
parent a82dca883f
commit d4bd17d443
5 changed files with 20 additions and 5 deletions

View File

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