summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2018-04-11 20:43:54 +0200
committerfrosch <github@elsenhans.name>2018-04-12 22:26:45 +0200
commite0a62a9e55d7392d34fc1cea4c6aada49b720e98 (patch)
treea0c8920b83300e83e4dd5c460039829936c10e3f
parent3701b8685ac9ccc7fd3d237be2c246b6cd3305df (diff)
downloadopenttd-e0a62a9e55d7392d34fc1cea4c6aada49b720e98.tar.xz
Remove: [NewGRF] OpenTTD version no longer contains a revision number.
-rw-r--r--src/rev.cpp.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index 5e089dc1f..ace9acc1f 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -66,13 +66,13 @@ const byte _openttd_revision_modified = !!MODIFIED!!;
* 24-27 minor version
* 20-23 build
* 19 1 if it is a release, 0 if it is not.
- * 0-18 revision number; 0 for releases and when the revision is unknown.
+ * 0-18 used to be the SVN revision, currently unused
*
* The 19th bit is there so the development/betas/alpha, etc. leading to a
* final release will always have a lower version number than the released
* version, thus making comparisons on specific revisions easy.
*/
-const uint32 _openttd_newgrf_version = 1 << 28 | 9 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1));
+const uint32 _openttd_newgrf_version = 1 << 28 | 9 << 24 | 0 << 20 | 0 << 19;
#ifdef __MORPHOS__
/**