mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
This commit is contained in:
parent
2c02810b3a
commit
316d3fbe1d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user