mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r4552) - NewGRF: fix braino... in r4550, new_scheme should true when the version is 7 or higher, not less than 7...
This commit is contained in:
parent
70bd867d71
commit
72d3fabb58
2
newgrf.c
2
newgrf.c
@ -1724,7 +1724,7 @@ static void VehicleNewName(byte *buf, int len)
|
|||||||
uint16 id;
|
uint16 id;
|
||||||
uint16 endid;
|
uint16 endid;
|
||||||
const char* name;
|
const char* name;
|
||||||
bool new_scheme = _cur_grffile->grf_version < 7;
|
bool new_scheme = _cur_grffile->grf_version >= 7;
|
||||||
|
|
||||||
check_length(len, 6, "VehicleNewName");
|
check_length(len, 6, "VehicleNewName");
|
||||||
buf++;
|
buf++;
|
||||||
|
Loading…
Reference in New Issue
Block a user