(svn r961) Fixed a problem with the new order system due to missing '{}'
authorCelestar
Sun, 05 Dec 2004 23:57:08 +0000
changeset 559 2003549c0ddb
parent 558 9b115b39c515
child 560 bd8a572dc8b9
(svn r961) Fixed a problem with the new order system due to missing '{}'
order_gui.c
--- a/order_gui.c	Sun Dec 05 21:30:58 2004 +0000
+++ b/order_gui.c	Sun Dec 05 23:57:08 2004 +0000
@@ -190,11 +190,12 @@
 
 		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: