diff --git a/.ottdrev b/.ottdrev index 20c6f71741..5ca22e1b18 100644 --- a/.ottdrev +++ b/.ottdrev @@ -1 +1 @@ -1.11.1 20210418 0 0be22efffc3c14db08baf5e58c448b5d074f4427 1 1 2021 +1.11.2 20210503 0 672f285218c6817784d86f737987b75db4bc78fc 1 1 2021 diff --git a/src/rev.cpp.in b/src/rev.cpp.in index 16c403a67a..3939ca5a0e 100644 --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -85,4 +85,4 @@ const byte _openttd_revision_tagged = ${REV_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 | 11 << 24 | 0 << 20 | ${REV_ISSTABLETAG} << 19 | 28004; +const uint32 _openttd_newgrf_version = ${REV_MAJOR} << 28 | ${REV_MINOR} << 24 | ${REV_BUILD} << 20 | ${REV_ISSTABLETAG} << 19 | 28004;