mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(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:
parent
94e09ba605
commit
422a8654e3
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user