mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r3325) - Fix: You couldn't send an airplane to a hangar for mandatory servicing, the NON_STOP flag failed the command.
This commit is contained in:
parent
7142512754
commit
a24de0ba3b
@ -218,7 +218,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
|
|||||||
if (v->type != VEH_Aircraft) break;
|
if (v->type != VEH_Aircraft) break;
|
||||||
if (IsAircraftHangarTile(tile) && IsTileOwner(tile, _local_player)) {
|
if (IsAircraftHangarTile(tile) && IsTileOwner(tile, _local_player)) {
|
||||||
order.type = OT_GOTO_DEPOT;
|
order.type = OT_GOTO_DEPOT;
|
||||||
order.flags = OF_PART_OF_ORDERS | OF_NON_STOP; //XXX - whats the nonstop stuff doing here?
|
order.flags = OF_PART_OF_ORDERS;
|
||||||
order.station = _m[tile].m2;
|
order.station = _m[tile].m2;
|
||||||
return order;
|
return order;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user