mirror of https://github.com/OpenTTD/OpenTTD
(svn r25965) -Fix [FS#5800]: the wrong vehicle would be taken in a shared order vehicle list window when the ID >= 65536, causing assertions triggering later on
parent
f7276876de
commit
be4355edd3
|
@ -1708,7 +1708,7 @@ static WindowDesc _vehicle_list_train_desc(
|
||||||
_nested_vehicle_list, lengthof(_nested_vehicle_list)
|
_nested_vehicle_list, lengthof(_nested_vehicle_list)
|
||||||
);
|
);
|
||||||
|
|
||||||
static void ShowVehicleListWindowLocal(CompanyID company, VehicleListType vlt, VehicleType vehicle_type, uint16 unique_number)
|
static void ShowVehicleListWindowLocal(CompanyID company, VehicleListType vlt, VehicleType vehicle_type, uint32 unique_number)
|
||||||
{
|
{
|
||||||
if (!Company::IsValidID(company) && company != OWNER_NONE) return;
|
if (!Company::IsValidID(company) && company != OWNER_NONE) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue