mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(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
This commit is contained in:
parent
f7276876de
commit
be4355edd3
@ -1708,7 +1708,7 @@ static WindowDesc _vehicle_list_train_desc(
|
||||
_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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user