summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-13 14:43:33 +0000
committerrubidium <rubidium@openttd.org>2008-05-13 14:43:33 +0000
commita7db265bb6c55bb3e507ab2b069cedbe4a198b03 (patch)
tree07ccf25e54bf3e9762d7fd6e9e3b30a6138e95f6 /src/autoreplace_gui.cpp
parentc6c908aba56dcd961c8ab35032f851d8c6948883 (diff)
downloadopenttd-a7db265bb6c55bb3e507ab2b069cedbe4a198b03.tar.xz
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r--src/autoreplace_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp
index af5d3d4a6..2d1365b26 100644
--- a/src/autoreplace_gui.cpp
+++ b/src/autoreplace_gui.cpp
@@ -249,7 +249,7 @@ class ReplaceVehicleWindow : public Window {
}
public:
- ReplaceVehicleWindow(const WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc, NULL, window_number)
+ ReplaceVehicleWindow(const WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc, window_number)
{
this->wagon_btnstate = true; // start with locomotives (all other vehicles will not read this bool)
new (&this->list[0]) EngineList();