--- a/src/autoreplace_gui.cpp Tue May 13 21:11:38 2008 +0000
+++ b/src/autoreplace_gui.cpp Tue May 13 21:16:23 2008 +0000
@@ -249,7 +249,7 @@
}
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();