From c40740e058983e02912d7844a64f0c2568df7b28 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 26 Mar 2006 19:20:15 +0000 Subject: (svn r4120) Use the new station functions where appropriate --- order_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'order_gui.c') 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); -- cgit v1.2.3-54-g00ecf