Merge branch 'master' into jgrpp

# Conflicts:
#	.github/workflows/release-linux.yml
#	.github/workflows/release.yml
#	src/rail_cmd.cpp
#	src/rail_gui.cpp
#	src/script/api/script_rail.cpp
#	src/settings_gui.cpp
#	src/signal_type.h
#	src/video/sdl2_v.cpp
This commit is contained in:
Jonathan G Rennison
2024-01-16 00:38:56 +00:00
88 changed files with 417 additions and 131 deletions

View File

@@ -3750,7 +3750,7 @@ void FreeTrainTrackReservation(Train *v, TileIndex origin, Trackdir orig_td)
break;
} else {
/* Turn the signal back to red. */
if (GetSignalType(tile, TrackdirToTrack(td)) == SIGTYPE_NORMAL) {
if (GetSignalType(tile, TrackdirToTrack(td)) == SIGTYPE_BLOCK) {
update_signal = true;
} else {
SetSignalStateByTrackdir(tile, td, SIGNAL_STATE_RED);