Fix enum type mismatch in TestOrderCondition
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user