mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-17 09:25:24 +01:00
(svn r961) Fixed a problem with the new order system due to missing '{}'
This commit is contained in:
parent
c8d83ce557
commit
293d5bffa8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user