(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...
authorpeter1138
Sat, 28 Oct 2006 18:49:28 +0000
changeset 4993 7d84a318e3a4
parent 4992 6d0a80c5c654
child 4994 ec6d8b5551f4
(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...
newgrf.c
--- a/newgrf.c	Sat Oct 28 18:42:57 2006 +0000
+++ b/newgrf.c	Sat Oct 28 18:49:28 2006 +0000
@@ -2167,10 +2167,10 @@
 
 		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 */