equal
deleted
inserted
replaced
247 this->update_right = false; |
247 this->update_right = false; |
248 this->init_lists = false; |
248 this->init_lists = false; |
249 } |
249 } |
250 |
250 |
251 public: |
251 public: |
252 ReplaceVehicleWindow(const WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc, NULL, window_number) |
252 ReplaceVehicleWindow(const WindowDesc *desc, VehicleType vehicletype, GroupID id_g) : Window(desc, window_number) |
253 { |
253 { |
254 this->wagon_btnstate = true; // start with locomotives (all other vehicles will not read this bool) |
254 this->wagon_btnstate = true; // start with locomotives (all other vehicles will not read this bool) |
255 new (&this->list[0]) EngineList(); |
255 new (&this->list[0]) EngineList(); |
256 new (&this->list[1]) EngineList(); |
256 new (&this->list[1]) EngineList(); |
257 this->update_left = true; |
257 this->update_left = true; |