Add new signal type: no-entry signal
This is only passable in one direction, but does not have a signal or show an aspect in the opposite direction Add a setting for whether this is shown in the signal UI. Off by default.
This commit is contained in:
@@ -774,7 +774,7 @@ static void UpdateSignalsAroundSegment(SigInfo info)
|
||||
}
|
||||
|
||||
/* determine whether the new state is red */
|
||||
if (info.flags & SF_TRAIN) {
|
||||
if (info.flags & SF_TRAIN || sig == SIGTYPE_NO_ENTRY) {
|
||||
/* train in the segment */
|
||||
newstate = SIGNAL_STATE_RED;
|
||||
} else if (sig == SIGTYPE_PROG &&
|
||||
|
Reference in New Issue
Block a user