mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 13:27:30 +01:00
The check added to TableTraceRoute() decided consist membership through BelongsToConsist(), which falls back on TDynamicObject::is_connected() and its Next()/Prev() walk - the same pair that mishandles reversed members. When it failed to recognise one of our own cars the scan ended on our own consist, no signal ever reached the speed table, and the driver stood at a clear semaphore for good. Seen on a shunting locomotive that had just uncoupled, with ctOwner still cleared. The signal-permission code does not need it: OtherConsistAtSignal() looks the route over on its own and DistanceToAnotherConsist() measures to the vehicle rather than to the end of a track. Both stay.
390 KiB
390 KiB