summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-09 19:53:42 +0000
committeryexo <yexo@openttd.org>2011-12-09 19:53:42 +0000
commit16eb11e9887af93ff2fc224e28ba7c089afe0ab2 (patch)
tree567fd3111523ab8dcf67d44915dc9df434426d4c /src/newgrf_airport.h
parentc9be5d50dac64fe9fefe1a1e85d4eeaf8cc2470c (diff)
downloadopenttd-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.h6
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);