Conditional orders: Add slot acquire modes to train in slot conditional

This commit is contained in:
Jonathan G Rennison
2020-05-10 21:06:09 +01:00
parent 0dd9562ead
commit 0202211514
6 changed files with 69 additions and 18 deletions

View File

@@ -3051,7 +3051,7 @@ public:
this->v->current_order = *order;
return UpdateOrderDest(this->v, order, 0, true);
case OT_CONDITIONAL: {
VehicleOrderID next = ProcessConditionalOrder(order, this->v);
VehicleOrderID next = ProcessConditionalOrder(order, this->v, true);
if (next != INVALID_VEH_ORDER_ID) {
depth++;
this->index = next;