summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authorCelestar <celestar@openttd.org>2004-12-05 23:57:08 +0000
committerCelestar <celestar@openttd.org>2004-12-05 23:57:08 +0000
commit293d5bffa8fce0309d769a63d77ce43d1c447535 (patch)
treeed93eb4e987b99b48fd607a384db3cebc7d18aba /order_gui.c
parentc8d83ce557fff5b6271d2fdecee04ac3942cbde2 (diff)
downloadopenttd-293d5bffa8fce0309d769a63d77ce43d1c447535.tar.xz
(svn r961) Fixed a problem with the new order system due to missing '{}'
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c
index e4a524e6e..54d404997 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -190,11 +190,12 @@ static Order GetOrderCmdFromTile(Vehicle *v, uint tile)
case MP_STATION:
if (v->type != VEH_Aircraft) break;
- if ( IsAircraftHangarTile(tile) && _map_owner[tile] == _local_player)
+ if ( IsAircraftHangarTile(tile) && _map_owner[tile] == _local_player) {
order.type = OT_GOTO_DEPOT;
order.flags = OF_UNLOAD | OF_NON_STOP;
order.station = _map2[tile];
return order;
+ }
break;
case MP_WATER: