(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:
peter1138 2006-04-23 18:37:53 +00:00
parent 70bd867d71
commit 72d3fabb58

View File

@ -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++;