diff options
author | SamuXarick <43006711+SamuXarick@users.noreply.github.com> | 2020-02-24 22:49:11 +0000 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2020-03-30 08:21:40 +0200 |
commit | 57553cd8098ac003b3d5df6b9778214e6933c5d7 (patch) | |
tree | 93c0fbeadf0c67d2aeea891503b5a7007b50d7ed /src/ship_cmd.cpp | |
parent | 4d4005d8b7455fba8fe4e59dc99727a4caec6edf (diff) | |
download | openttd-57553cd8098ac003b3d5df6b9778214e6933c5d7.tar.xz |
Fix #8020: Add missing docking tiles around industry neutral stations
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 1758454ad..28e6be4f3 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -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; } |