diff options
author | rubidium <rubidium@openttd.org> | 2008-05-13 21:16:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-13 21:16:23 +0000 |
commit | 316d3fbe1ddc4accaaaa3d2599612208a9e24226 (patch) | |
tree | f351af5756ae46362ff1c44f33b5d79d42ef8d5c /src/autoreplace_gui.cpp | |
parent | 2c02810b3a2913be6300a1d8acb33d90595e0f64 (diff) | |
download | openttd-316d3fbe1ddc4accaaaa3d2599612208a9e24226.tar.xz |
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r-- | src/autoreplace_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp index 2d1365b26..f9d827d27 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, window_number) + ReplaceVehicleWindow(const WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc, vehicletype) { this->wagon_btnstate = true; // start with locomotives (all other vehicles will not read this bool) new (&this->list[0]) EngineList(); |