mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
This commit is contained in:
commit
59677d5c6f
@ -1120,11 +1120,13 @@ CommandCost CmdBuildSingleSignal(TileIndex tile, DoCommandFlag flags, uint32 p1,
|
||||
SetBitTunnelBridgeExit(tile);
|
||||
}
|
||||
}
|
||||
if (p2 == 0 || p2 == 4 || p2 == 8) {
|
||||
SetTunnelBridgeSemaphore(tile, sigvar == SIG_SEMAPHORE);
|
||||
SetTunnelBridgeSemaphore(tile_exit, sigvar == SIG_SEMAPHORE);
|
||||
SetTunnelBridgePBS(tile, is_pbs);
|
||||
SetTunnelBridgePBS(tile_exit, is_pbs);
|
||||
}
|
||||
}
|
||||
if (IsTunnelBridgeExit(tile) && IsTunnelBridgePBS(tile) && !HasTunnelBridgeReservation(tile)) SetTunnelBridgeExitGreen(tile, false);
|
||||
if (IsTunnelBridgeExit(tile_exit) && IsTunnelBridgePBS(tile_exit) && !HasTunnelBridgeReservation(tile_exit)) SetTunnelBridgeExitGreen(tile_exit, false);
|
||||
MarkBridgeOrTunnelDirty(tile);
|
||||
|
Loading…
Reference in New Issue
Block a user