Merge branch 'signal_tunnels_bridges-sx' into jgrpp

This commit is contained in:
Jonathan G Rennison
2016-04-28 22:24:36 +01:00
2 changed files with 11 additions and 0 deletions

View File

@@ -3445,6 +3445,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, ZOOM_LVL_DRAW_MAP);
}
}
bool ok = TryPathReserve(t);