From 31b325baafc0abe02c380af63dd6f5fe86f573fd Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 4 Jan 2010 18:12:10 +0000 Subject: (svn r18715) -Codechange: make StationFinder a subclass of TileArea --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_cmd.cpp') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index f51a32def..39e6283bd 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3035,7 +3035,7 @@ void FindStationsAroundTiles(TileIndex tile, int w_prod, int h_prod, StationList 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; -- cgit v1.2.3-54-g00ecf