mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 19:57:06 +01:00
Merge staging into feat/derailment-event
# Conflicts: # McZapkie/Mover.cpp # vehicle/DynObj.cpp
This commit is contained in:
@@ -200,7 +200,7 @@ bool test_manager::tested_trains_at_rest() const
|
||||
// the consists as they are now: a train the tested one couples to joins it, one it leaves behind doesn't
|
||||
return std::ranges::none_of(Global.test.vehicles, [](std::string const &Name) {
|
||||
auto *vehicle { simulation::Vehicles.find(Name) };
|
||||
return vehicle != nullptr && vehicle->find_vehicle(coupling::coupler, is_moving) != nullptr;
|
||||
return vehicle != nullptr && vehicle->find_vehicle(Coupling::coupler, is_moving) != nullptr;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user