summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-11-05 19:16:59 +0000
committerfrosch <frosch@openttd.org>2016-11-05 19:16:59 +0000
commit476b2b0e8ca97807c2ffa0bb56ca7afcb5371a3b (patch)
tree5e30db10c875d4b9e7979618ff76f1a24bff0a3e /src/vehicle_gui.cpp
parentd9bfe88261b99631322ca348e48027e22fa3c84e (diff)
downloadopenttd-476b2b0e8ca97807c2ffa0bb56ca7afcb5371a3b.tar.xz
(svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 constructor, to make conversions more explicit.
Diffstat (limited to 'src/vehicle_gui.cpp')
-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 6617929c6..8ea8cda4c 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1638,7 +1638,7 @@ public:
break;
case WID_VL_MANAGE_VEHICLES_DROPDOWN: {
- DropDownList *list = this->BuildActionDropdownList(VehicleListIdentifier(this->window_number).type == VL_STANDARD, false);
+ DropDownList *list = this->BuildActionDropdownList(VehicleListIdentifier::UnPack(this->window_number).type == VL_STANDARD, false);
ShowDropDownList(this, list, 0, WID_VL_MANAGE_VEHICLES_DROPDOWN);
break;
}