From 00a0853550274b158c40ff8945aad758a70363fa Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 30 Dec 2023 13:58:37 +0000 Subject: [PATCH] Debug: Show if signal is always reserve through --- src/table/newgrf_debug_data.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h index ccd18f1e5c..807958052b 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -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); } }