summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ai/api/ai_order.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_order.cpp b/src/ai/api/ai_order.cpp
index 194addf20..b46e44353 100644
--- a/src/ai/api/ai_order.cpp
+++ b/src/ai/api/ai_order.cpp
@@ -86,7 +86,7 @@ static OrderType GetOrderTypeByTile(TileIndex t)
case OC_RELIABILITY:
case OC_MAX_SPEED:
case OC_AGE:
- return compare >= CF_EQUALS && compare <= CF_MORE_EQUALS);
+ return compare >= CF_EQUALS && compare <= CF_MORE_EQUALS;
case OC_REQUIRES_SERVICE:
return compare == CF_IS_TRUE || compare == CF_IS_FALSE;