summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-02 16:05:45 +0000
committertron <tron@openttd.org>2005-11-02 16:05:45 +0000
commit422a8654e39b1e7fa793b6aa71daeae11fb4279e (patch)
tree5ce55dd1c2bf5ebc1796f52c44ea94d72ba6dee2
parent94e09ba605e18d4ccb6d6099f7b2edb5d5e1d47e (diff)
downloadopenttd-422a8654e39b1e7fa793b6aa71daeae11fb4279e.tar.xz
(svn r3119) Don't pretend to be the Windows version of TTD all the time. When being asked answer according to _use_dos_palette. (Suggestion by Belugas)
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index b745522ed..d61e98d43 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1920,7 +1920,7 @@ static void SkipIf(byte *buf, int len)
}
case 0x8D: /* TTD Version, 00=DOS, 01=Windows */
- param_val = 1;
+ param_val = !_use_dos_palette;
break;
case 0x8E:
param_val = _traininfo_vehicle_pitch;