(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:
rubidium 2013-11-11 18:58:15 +00:00
parent f7276876de
commit be4355edd3
1 changed files with 1 additions and 1 deletions

View File

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