Changeset - r20918:cce18d275514
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-11 18:58:15
rubidium@openttd.org
(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
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -1708,7 +1708,7 @@ static WindowDesc _vehicle_list_train_de
 
	_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;
 

	
0 comments (0 inline, 0 general)