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 Niels Martin Hansen
parent 4d4005d8b7
commit 57553cd809
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;
}