summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-19 23:22:31 +0000
committeryexo <yexo@openttd.org>2009-02-19 23:22:31 +0000
commita54061f8407a9f886b87ea4417a2a35cc254464f (patch)
tree91b27163a8101108f87a448c3b7f288a593fc3e9 /src/ai/api
parentb3fe664d9017d21fd7b4360589f590b8207e503e (diff)
downloadopenttd-a54061f8407a9f886b87ea4417a2a35cc254464f.tar.xz
(svn r15527) -Fix (r15526): A ')' too much.
Diffstat (limited to 'src/ai/api')
-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;