diff options
author | yexo <yexo@openttd.org> | 2011-12-09 19:53:42 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-12-09 19:53:42 +0000 |
commit | 16eb11e9887af93ff2fc224e28ba7c089afe0ab2 (patch) | |
tree | 567fd3111523ab8dcf67d44915dc9df434426d4c /src/newgrf_airport.h | |
parent | c9be5d50dac64fe9fefe1a1e85d4eeaf8cc2470c (diff) | |
download | openttd-16eb11e9887af93ff2fc224e28ba7c089afe0ab2.tar.xz |
(svn r23462) -Codechange: use AirportTileTableIterator in a few more places to make the code easier to read
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r-- | src/newgrf_airport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index ca2ce1576..ebd40c9cd 100644 --- a/src/newgrf_airport.h +++ b/src/newgrf_airport.h @@ -56,6 +56,12 @@ public: return *this; } + /** Get the StationGfx for the current tile. */ + StationGfx GetStationGfx() const + { + return this->att->gfx; + } + virtual AirportTileTableIterator *Clone() const { return new AirportTileTableIterator(*this); |