17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-08 01:54:06 +01:00

Let a command cell reach a shut down driver

A dormant driver scans, but bailed out before anything could act on the
table. Signals stay out of it - only cm_Command is dispatched, so a memory
cell put in front of a parked consist can hand it Prepare_engine.
This commit is contained in:
maj00r
2026-09-15 00:03:42 +02:00
parent e6c2d189ff
commit 2531418d26
2 changed files with 13 additions and 0 deletions

View File

@@ -387,6 +387,7 @@ private:
void control_braking_force();
void apply_independent_brake_only();
void check_route_ahead( double const Range );
void check_cell_ahead(); // shut down driver: only a command cell can reach it
// false when the permission at the nearest signal was given to another consist
bool SignalPermissionIsOurs( bool const Signalgivesgo ) const;
bool OtherConsistAtSignal() const; // another consist in front of the signal = the addressee of the permission