summaryrefslogtreecommitdiff
path: root/projects/openttd_vs141.vcxproj
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-07-01 12:15:00 +0200
committerMichael Lutz <michi@icosahedron.de>2018-07-01 12:15:00 +0200
commit6cf4d7d3ef4dd27eac482eed86a3de1504454dbe (patch)
treed3833dbc65576f8f9a4cceaee2a4c23e57550fd2 /projects/openttd_vs141.vcxproj
parent4189cb85ba054d0f41ec0b64a9323e63e49f2afc (diff)
downloadopenttd-6cf4d7d3ef4dd27eac482eed86a3de1504454dbe.tar.xz
Fix: Put last SVN revision back in NewGRF version number (#6843)
This is necessary to be compatible with some Game Scripts that might trigger compatibility modes if the SVN revision part is wrong. Potentially some NewGRFs might also be affected. See for example [SuperLib's Helper class](https://dev.openttdcoop.org/projects/superlib/repository/entry/helper.nut#L280), containing this function: function _SuperLib_Helper::HasWorldGenBug() { local version = _SuperLib_Helper.GetOpenTTDVersion(); if (version.Major == 0 || (version.Major == 1 && version.Minor <= 3)) { return version.Revision < 25339; } else { return version.Revision < 25305; } } If this function sees a Revision value of zero, it might trigger a workaround not required, causing a regression in scripts dependent on this. The MinimalGS example, for one, will trigger this.
Diffstat (limited to 'projects/openttd_vs141.vcxproj')
0 files changed, 0 insertions, 0 deletions