forked from mirror/OpenTTD
(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)
This commit is contained in:
2
newgrf.c
2
newgrf.c
@@ -1920,7 +1920,7 @@ static void SkipIf(byte *buf, int len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 0x8D: /* TTD Version, 00=DOS, 01=Windows */
|
case 0x8D: /* TTD Version, 00=DOS, 01=Windows */
|
||||||
param_val = 1;
|
param_val = !_use_dos_palette;
|
||||||
break;
|
break;
|
||||||
case 0x8E:
|
case 0x8E:
|
||||||
param_val = _traininfo_vehicle_pitch;
|
param_val = _traininfo_vehicle_pitch;
|
||||||
|
Reference in New Issue
Block a user