diff options
author | tron <tron@openttd.org> | 2006-03-26 19:20:15 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-26 19:20:15 +0000 |
commit | c40740e058983e02912d7844a64f0c2568df7b28 (patch) | |
tree | ab641b54ed908fa761cf34615a8966e70f7e78d1 /order_gui.c | |
parent | 3ecd8bd2eec6fdbaeb71b88b1b9a7e7cbcef6681 (diff) | |
download | openttd-c40740e058983e02912d7844a64f0c2568df7b28.tar.xz |
(svn r4120) Use the new station functions where appropriate
Diffstat (limited to 'order_gui.c')
-rw-r--r-- | order_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c index c1f4bc79b..a414bba8c 100644 --- a/order_gui.c +++ b/order_gui.c @@ -218,7 +218,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) case MP_STATION: if (v->type != VEH_Aircraft) break; - if (IsAircraftHangarTile(tile) && IsTileOwner(tile, _local_player)) { + if (IsHangar(tile) && IsTileOwner(tile, _local_player)) { order.type = OT_GOTO_DEPOT; order.flags = OF_PART_OF_ORDERS; order.station = GetStationIndex(tile); |