summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-16 11:24:58 +0000
committertron <tron@openttd.org>2005-01-16 11:24:58 +0000
commitae796740aab0ee480759d2015014b29e2a7aedb4 (patch)
treebc9e7bccf2119556badf2efe43aca901dfc0a76e /aircraft_gui.c
parentd2643dc483abbd086441b126912f466127253b06 (diff)
downloadopenttd-ae796740aab0ee480759d2015014b29e2a7aedb4.tar.xz
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 31a081f27..a08957477 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -577,7 +577,7 @@ static void AircraftViewWndProc(Window *w, WindowEvent *e)
{
uint tile = v->tile;
- if (IS_TILETYPE(tile, MP_STATION) &&
+ if (IsTileType(tile, MP_STATION) &&
(_map5[tile] == 32 || _map5[tile] == 65) &&
v->vehstatus&VS_STOPPED)
disabled = 0;