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; result = order->IsType(OT_GOTO_WAYPOINT) && order->GetDestination() == condvalue;
break; break;
case OT_GOTO_DEPOT: case TROCAF_DEPOT:
result = order->IsType(OT_GOTO_DEPOT) && order->GetDestination() == condvalue; result = order->IsType(OT_GOTO_DEPOT) && order->GetDestination() == condvalue;
break; break;

Loading…
Cancel
Save