summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-11 18:58:15 +0000
committerrubidium <rubidium@openttd.org>2013-11-11 18:58:15 +0000
commitbe4355edd3fe870cc38af1a8b4c091e3c351210b (patch)
tree9b2c3d18606dd45a86c115ab6f4dd3c5a4e72c3e /src
parentf7276876def8a588815bc523006fac8271823692 (diff)
downloadopenttd-be4355edd3fe870cc38af1a8b4c091e3c351210b.tar.xz
(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
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 3f0d486e1..bf7da6b37 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -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;