Fix enum type mismatch in TestOrderCondition

This commit is contained in:
Jonathan G Rennison
2019-04-28 11:09:05 +01:00
parent a9596b45aa
commit 0d2277211c

View File

@@ -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;