Fix unreserving through a green PBS signal not setting the state to red.
This also had the side effect of failed reservation attempts through a reserve-through signal leaving the signal erroneously set to green.
This commit is contained in:
@@ -24,6 +24,7 @@ void SetRailStationPlatformReservation(TileIndex start, DiagDirection dir, bool
|
||||
bool TryReserveRailTrack(TileIndex tile, Track t, bool trigger_stations = true);
|
||||
bool TryReserveRailTrackdir(TileIndex tile, Trackdir td, bool trigger_stations = true);
|
||||
void UnreserveRailTrack(TileIndex tile, Track t);
|
||||
void UnreserveRailTrackdir(TileIndex tile, Trackdir td);
|
||||
|
||||
/** This struct contains information about the end of a reserved path. */
|
||||
struct PBSTileInfo {
|
||||
|
||||
Reference in New Issue
Block a user