summaryrefslogtreecommitdiff
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
commit1d0ebb9cc3198e51ace4e361572da00700c9d564 (patch)
treebe2c92e7bd04b4d47af00591d0ddaf38b7b008a5
parentdc58fb87ab97783bfc9e35c62719afd45fadb5c1 (diff)
downloadopenttd-1d0ebb9cc3198e51ace4e361572da00700c9d564.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...
-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 */