changeset 2582:6ce4cee925b1 draft

(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)
author tron <tron@openttd.org>
date Wed, 02 Nov 2005 16:05:45 +0000
parents 9edc48a600b7
children 5431eadc80f2
files newgrf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/newgrf.c
+++ b/newgrf.c
@@ -1920,7 +1920,7 @@
 		}
 
 		case 0x8D:    /* TTD Version, 00=DOS, 01=Windows */
-			param_val = 1;
+			param_val = !_use_dos_palette;
 			break;
 		case 0x8E:
 			param_val = _traininfo_vehicle_pitch;