(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
authorDarkvater
Fri, 27 May 2005 13:41:03 +0000
changeset 1862 d07180add12f
parent 1861 8b6f1d021317
child 1863 610acc8bc189
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
newgrf.c
--- a/newgrf.c	Thu May 26 19:43:56 2005 +0000
+++ b/newgrf.c	Fri May 27 13:41:03 2005 +0000
@@ -1971,6 +1971,7 @@
 {
 	/* FIXME: We should rather reflect reality in _ttdpatch_flags[]. */
 
+	_ttdpatch_flags[0] = (1 << 0x1B); /* multihead */
 	_ttdpatch_flags[1] = (1 << 0x08)  /* mammothtrains */
 	                   | (1 << 0x0B)  /* subsidiaries */
 	                   | (1 << 0x14)  /* bridgespeedlimits */
@@ -1979,12 +1980,12 @@
 	                   | (1 << 0x18)  /* newrvs */
 	                   | (1 << 0x19)  /* newships */
 	                   | (1 << 0x1A)  /* newplanes */
-			   | (1 << 0x1B); /* signalsontrafficside */
+			               | (1 << 0x1B); /* signalsontrafficside */
 	                   /* Uncomment following if you want to fool the GRF file.
 	                    * Some GRF files will refuse to load without this
 	                    * but you can still squeeze something from them even
 	                    * without the support - i.e. USSet. --pasky */
-			   //| (1 << 0x1C); /* electrifiedrailway */
+			               //| (1 << 0x1C); /* electrifiedrailway */
 
 	_ttdpatch_flags[2] = (1 << 0x0D)  /* buildonslopes */
 	                   | (1 << 0x16)  /* canals */