summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-26 18:25:27 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-26 18:25:27 +0000
commit4c69d11f5e989861105678288d96f2e0473341ba (patch)
tree472bbf140747c817be5e2519d4a2331044805c28 /src/vehicle_gui.cpp
parent515e0fa22dfecd7f77a4b2f6d071299e263c7e52 (diff)
downloadopenttd-4c69d11f5e989861105678288d96f2e0473341ba.tar.xz
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 1a9a44b42..c0b02d823 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -806,7 +806,6 @@ struct VehicleListWindow : public Window, public VehicleListBase {
PlayerID player = (PlayerID)GB(this->window_number, 0, 8);
this->vehicle_type = (VehicleType)GB(this->window_number, 11, 5);
- this->vehicles.Clear();
this->caption_color = player;
/* Hide the widgets that we will not use in this window