summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-27 13:41:03 +0000
committerDarkvater <darkvater@openttd.org>2005-05-27 13:41:03 +0000
commit72f673f36da8f933aa99e31037968aa13f1831e6 (patch)
tree15bd0dc6baafc3a691d7c5f121caee41d4edd962 /newgrf.c
parent4cd4a2be79eb1dfd4ff7550df450652e0eec884d (diff)
downloadopenttd-72f673f36da8f933aa99e31037968aa13f1831e6.tar.xz
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index 3607326aa..3cc1827ef 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1971,6 +1971,7 @@ static void InitializeGRFSpecial(void)
{
/* 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 @@ static void InitializeGRFSpecial(void)
| (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 */