summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-03-11 20:50:26 +0000
committerfrosch <frosch@openttd.org>2017-03-11 20:50:26 +0000
commitafcef7faa6d3ccfcbf3e46d74c9ae5120d268efc (patch)
tree5d6420a122ecec7b7dbbb395992c82a887804ca5 /src/ai
parentca3aaf8f6dc8093b90b74b252327675be064c03e (diff)
downloadopenttd-afcef7faa6d3ccfcbf3e46d74c9ae5120d268efc.tar.xz
(svn r27780) -Update: Numbers
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_info.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index e862b6246..2afd5d419 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -28,7 +28,8 @@ 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") == 0 || strcmp(api_version, "1.7") == 0;
+ strcmp(api_version, "1.5") == 0 || strcmp(api_version, "1.6") == 0 || strcmp(api_version, "1.7") == 0 ||
+ strcmp(api_version, "1.8") == 0;
}
#if defined(WIN32)