Fix signalled bridge/tunnel not always being redrawn on (un)reservation.

This commit is contained in:
Jonathan G Rennison
2016-04-28 22:19:35 +01:00
parent 3ae94d857c
commit 17f74e4c51
2 changed files with 3 additions and 0 deletions

View File

@@ -3231,6 +3231,7 @@ static bool CheckTrainStayInWormHolePathReserve(Train *t, TileIndex tile)
if (reserved == TRACKDIR_BIT_NONE) {
/* next tile is not reserved, so reserve the exit tile */
SetTunnelBridgeReservation(tile, true);
MarkTileDirtyByTile(tile);
}
}
bool ok = TryPathReserve(t);