summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-10-28 18:49:28 +0000
committerpeter1138 <peter1138@openttd.org>2006-10-28 18:49:28 +0000
commita12805ab178922c64c084cd3d82d8bf203ad4047 (patch)
treebe2c92e7bd04b4d47af00591d0ddaf38b7b008a5 /newgrf.c
parente39643ca1767aafa635e6e79902793075af58121 (diff)
downloadopenttd-a12805ab178922c64c084cd3d82d8bf203ad4047.tar.xz
(svn r6996) - Codechange: Pretend to be the current version of TTDPatch. This value doesn't anything to us as we don't follow TTDPatch's development timeline...
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newgrf.c b/newgrf.c
index 101025d29..fb72e7670 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2167,10 +2167,10 @@ static uint32 GetParamVal(byte param, uint32 *cond_val)
case 0x8B: { /* TTDPatch version */
uint major = 2;
- uint minor = 0;
- uint revision = 10; // special case: 2.0.1 is 2.0.10
- uint build = 73;
- return (major << 24) | (minor << 20) | (revision << 16) | (build * 10);
+ uint minor = 6;
+ uint revision = 0; // special case: 2.0.1 is 2.0.10
+ uint build = 1168;
+ return (major << 24) | (minor << 20) | (revision << 16) | build;
}
case 0x8D: /* TTD Version, 00=DOS, 01=Windows */