mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Debug: Show if signal is always reserve through
This commit is contained in:
parent
099a7bdd3a
commit
00a0853550
@ -1329,6 +1329,7 @@ void DumpTileSignalsInfo(char *buffer, const char *last, uint index, NIExtraInfo
|
||||
const SignalState state = GetSignalStateByTrackdir(index, td);
|
||||
b += seprintf(b, last, " trackdir: %d, state: %d", td, state);
|
||||
if (_extra_aspects > 0 && state == SIGNAL_STATE_GREEN) seprintf(b, last, ", aspect: %d", GetSignalAspect(index, TrackdirToTrack(td)));
|
||||
if (GetSignalAlwaysReserveThrough(index, TrackdirToTrack(td))) seprintf(b, last, ", always reserve through");
|
||||
output.print(buffer);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user