diff options
Diffstat (limited to 'src/ai/api/ai_station.cpp')
-rw-r--r-- | src/ai/api/ai_station.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_station.cpp b/src/ai/api/ai_station.cpp index 5d73b147b..1a7ef468d 100644 --- a/src/ai/api/ai_station.cpp +++ b/src/ai/api/ai_station.cpp @@ -18,7 +18,7 @@ /* static */ bool AIStation::IsValidStation(StationID station_id) { const Station *st = ::Station::GetIfValid(station_id); - return st != NULL && st->owner == _current_company; + return st != NULL && (st->owner == _current_company || st->owner == OWNER_NONE); } /* static */ StationID AIStation::GetStationID(TileIndex tile) |