File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
shared/src/traintastic/simulator Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2599,7 +2599,7 @@ bool Simulator::checkNextSignal(Train *train)
25992599 if (!train->state .nextSignal )
26002600 {
26012601 const float length = getSegmentLength (staticData.trackSegments [face.segmentIndex ], m_stateData);
2602- if (length >= 400 )
2602+ if (length >= 100 )
26032603 {
26042604 // Long segments do not find signal and also do not set dirty
26052605 // Set dirty near to end to re-trigger signal scan
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ class Simulator : public std::enable_shared_from_this<Simulator>
464464 void updateTrainPositions ();
465465 bool updateVehiclePosition (VehicleState::Face& face,
466466 const float speed, bool isFirst_,
467- Train &trainState_ );
467+ Train &train_ );
468468 void updateSensors ();
469469
470470 bool isStraight (const TrackSegment& segment);
You can’t perform that action at this time.
0 commit comments