Fix ProcessOrders not always being called after leaving a waiting order
Fixes conditional order loop on leaving a depot
This commit is contained in:
@@ -2070,7 +2070,7 @@ static bool RoadVehController(RoadVehicle *v)
|
||||
|
||||
if (v->current_order.IsType(OT_LOADING)) return true;
|
||||
|
||||
v->HandleWaiting(false);
|
||||
v->HandleWaiting(false, true);
|
||||
if (v->current_order.IsType(OT_WAITING)) return true;
|
||||
|
||||
if (v->IsInDepot() && RoadVehLeaveDepot(v, true)) return true;
|
||||
|
Reference in New Issue
Block a user