Skip to content

Commit c5f3bcf

Browse files
committed
Fix obstructed block for non-normal signal on a track circuit at the end of the track
1 parent 126e440 commit c5f3bcf

File tree

1 file changed

+2
-1
lines changed
  • Source/Orts.Simulation/Simulation/Signalling

1 file changed

+2
-1
lines changed

Source/Orts.Simulation/Simulation/Signalling/Signals.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11096,7 +11096,8 @@ private void getBlockState_notRouted()
1109611096

1109711097
// if section has signal at end stop check
1109811098

11099-
if (thisSection.EndSignals[direction] != null)
11099+
if (thisSection.EndSignals[direction] != null
11100+
|| (thisSection.CircuitType == TrackCircuitSection.TrackCircuitType.EndOfTrack && thisSection.EndSignals[direction] == null))
1110011101
{
1110111102
thisSection = null;
1110211103
}

0 commit comments

Comments
 (0)