summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorfrosch <github@elsenhans.name>2019-03-03 20:08:28 +0100
committerGitHub <noreply@github.com>2019-03-03 20:08:28 +0100
commit39cda89e858325cf4c8b76a78566d96294d95b43 (patch)
treed92131ebdaf320c5c43767f62a265a439c297529 /src/rev.cpp.in
parent8016b8b3e9f0e1c0190a3dba74ba4d02ed6053c1 (diff)
downloadopenttd-39cda89e858325cf4c8b76a78566d96294d95b43.tar.xz
Add: Detect stable tags automatically, and set the 'stable' flag in '_openttd_newgrf_version' accordingly. (#7317)
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index b4855d4cc..2d58bb152 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -82,7 +82,7 @@ const byte _openttd_revision_tagged = !!ISTAG!!;
* 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 | 28004;
+const uint32 _openttd_newgrf_version = 1 << 28 | 9 << 24 | 0 << 20 | !!ISSTABLETAG!! << 19 | 28004;
#ifdef __MORPHOS__
/**