(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)
authortron
Wed, 02 Nov 2005 16:05:45 +0000
changeset 2582 5766de903758
parent 2581 7a4a67fefa91
child 2583 3da514e0f8ac
(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)
newgrf.c
--- a/newgrf.c	Wed Nov 02 13:06:07 2005 +0000
+++ b/newgrf.c	Wed Nov 02 16:05:45 2005 +0000
@@ -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;