(svn r22861) -Add: [NoAI] support the new conditional order introduced in r22858 (Zuu)

This commit is contained in:
yexo
2011-08-31 22:41:10 +00:00
parent 9b56713a69
commit ec9a9bea3a
3 changed files with 10 additions and 7 deletions

View File

@@ -176,6 +176,7 @@ static const Order *ResolveOrder(VehicleID vehicle_id, AIOrder::OrderPosition or
case OC_RELIABILITY:
case OC_MAX_SPEED:
case OC_AGE:
case OC_REMAINING_LIFETIME:
return compare >= CF_EQUALS && compare <= CF_MORE_EQUALS;
case OC_REQUIRES_SERVICE: