(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...

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent dc58fb87ab
commit 1d0ebb9cc3

@ -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 */

Loading…
Cancel
Save