summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-04 18:12:10 +0000
committerrubidium <rubidium@openttd.org>2010-01-04 18:12:10 +0000
commit31b325baafc0abe02c380af63dd6f5fe86f573fd (patch)
treee30c57a9b62586f846c736ccfa4ee5a10eb86049 /src/station_cmd.cpp
parent8b88bb0c9bf1072881b4111a339eb6781fdb80bc (diff)
downloadopenttd-31b325baafc0abe02c380af63dd6f5fe86f573fd.tar.xz
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
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;