summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-16 00:07:15 +0000
committerrubidium <rubidium@openttd.org>2010-02-16 00:07:15 +0000
commit997d52fc69462116343757310fcd76bc2a2d3b6c (patch)
treef0da708d9387b38fc19d584c03befb740a4c4835 /src
parent3626eb340e5996a9a9e1fa84c9b4023ecc55c952 (diff)
downloadopenttd-997d52fc69462116343757310fcd76bc2a2d3b6c.tar.xz
(svn r19143) -Codechange: trunk's going for 1.1 now.
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_info.cpp2
-rw-r--r--src/rev.cpp.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index 1b5ad51f1..29abb7e15 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -52,7 +52,7 @@ AILibrary::~AILibrary()
static bool CheckAPIVersion(const char *api_version)
{
- return strcmp(api_version, "0.7") == 0 || strcmp(api_version, "1.0") == 0;
+ return strcmp(api_version, "0.7") == 0 || strcmp(api_version, "1.0") == 0 || strcmp(api_version, "1.1") == 0;
}
/* static */ SQInteger AIInfo::Constructor(HSQUIRRELVM vm)
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index 6e33a64f3..ae867298d 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -60,7 +60,7 @@ const byte _openttd_revision_modified = !!MODIFIED!!;
* final release will always have a lower version number than the released
* version, thus making comparisions on specific revisions easy.
*/
-const uint32 _openttd_newgrf_version = 1 << 28 | 0 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1));
+const uint32 _openttd_newgrf_version = 1 << 28 | 1 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1));
#ifdef __MORPHOS__
/**