summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-03-17 20:02:30 +0000
committerfrosch <frosch@openttd.org>2014-03-17 20:02:30 +0000
commitdb96a109ff29776e00c6860acdef2d61b81a1f0b (patch)
tree0e8743a2261ccfd80e1c6c22b4e56b0eda72457a /src/ai
parentd470955e403622f9dbe5e465ca4fec5dd2e8c23d (diff)
downloadopenttd-db96a109ff29776e00c6860acdef2d61b81a1f0b.tar.xz
(svn r26406) -Change: heading for 1.5 now
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_info.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index 7ea7e3261..375248d7d 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -23,7 +23,9 @@
*/
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;
+ 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;
}
#if defined(WIN32)