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
commitdddfaaac7db08252a500fb2d0d1fb2cc7200d20c (patch)
tree07ccf25e54bf3e9762d7fd6e9e3b30a6138e95f6 /src/autoreplace_gui.cpp
parentdb69f81fe7693f12ec212af92698a524be7bc905 (diff)
downloadopenttd-dddfaaac7db08252a500fb2d0d1fb2cc7200d20c.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();