summaryrefslogtreecommitdiff
path: root/src/ai
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
commit14f6bd6ce1908fef32cbf522d4502779a7f67bbc (patch)
tree91b27163a8101108f87a448c3b7f288a593fc3e9 /src/ai
parent05856bf05f0b3861a4b27281d15dcd4d1bed8b53 (diff)
downloadopenttd-14f6bd6ce1908fef32cbf522d4502779a7f67bbc.tar.xz
(svn r15527) -Fix (r15526): A ')' too much.
Diffstat (limited to 'src/ai')
-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;