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:
@@ -2415,7 +2415,7 @@ static PBSTileInfo ExtendTrainReservation(const Train *v, const PBSTileInfo &ori
|
||||
tile = ft.m_new_tile;
|
||||
cur_td = FindFirstTrackdir(ft.m_new_td_bits);
|
||||
|
||||
UnreserveRailTrack(tile, TrackdirToTrack(cur_td));
|
||||
UnreserveRailTrackdir(tile, cur_td);
|
||||
}
|
||||
|
||||
/* Path invalid. */
|
||||
|
Reference in New Issue
Block a user