diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3035,7 +3035,7 @@ void FindStationsAroundTiles(TileIndex t const StationList *StationFinder::GetStations() { if (this->tile != INVALID_TILE) { - FindStationsAroundTiles(this->tile, this->x_extent, this->y_extent, &this->stations); + FindStationsAroundTiles(this->tile, this->w, this->h, &this->stations); this->tile = INVALID_TILE; } return &this->stations;