Fix enum type mismatch in TestOrderCondition

tracerestrict-sx^2
Jonathan G Rennison 5 years ago
parent a9596b45aa
commit 0d2277211c

@ -198,7 +198,7 @@ static bool TestOrderCondition(const Order *order, TraceRestrictItem item)
result = order->IsType(OT_GOTO_WAYPOINT) && order->GetDestination() == condvalue;
break;
case OT_GOTO_DEPOT:
case TROCAF_DEPOT:
result = order->IsType(OT_GOTO_DEPOT) && order->GetDestination() == condvalue;
break;

Loading…
Cancel
Save