mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 16:59:17 +02:00
work
This commit is contained in:
@@ -7333,8 +7333,11 @@ vehicle_table::erase_disabled() {
|
||||
&& ( simulation::Train->Dynamic() == vehicle ) ) {
|
||||
// clear potential train binding
|
||||
// TBD, TODO: kill vehicle sounds
|
||||
SafeDelete( simulation::Train );
|
||||
simulation::Train = nullptr;
|
||||
}
|
||||
|
||||
simulation::Trains.purge(vehicle->name());
|
||||
|
||||
// remove potential entries in the light array
|
||||
simulation::Lights.remove( vehicle );
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user