summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-03-17 20:45:57 +0000
committerfrosch <frosch@openttd.org>2015-03-17 20:45:57 +0000
commit8fc86bc5f52931d0dba7388b150a3e9835eb860d (patch)
tree3f35671ac4369ecf9d27743c956f3261e6296bcc /src
parent6477356dd2c0c69176fab004da1385df8553ddc3 (diff)
downloadopenttd-8fc86bc5f52931d0dba7388b150a3e9835eb860d.tar.xz
(svn r27193) -Fix (r27192): Incomplete copy/paste.
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index 6217920f8..ec7c896ce 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -28,7 +28,7 @@ static bool CheckAPIVersion(const char *api_version)
{
return strcmp(api_version, "0.7") == 0 || strcmp(api_version, "1.0") == 0 || strcmp(api_version, "1.1") == 0 ||
strcmp(api_version, "1.2") == 0 || strcmp(api_version, "1.3") == 0 || strcmp(api_version, "1.4") == 0 ||
- strcmp(api_version, "1.5") == 0 || strcmp(api_version, "1.6");
+ strcmp(api_version, "1.5") == 0 || strcmp(api_version, "1.6") == 0;
}
#if defined(WIN32)