mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r3922) Fix copy&pasto in r3916 (Slowly it's getting a bad habit)
This commit is contained in:
parent
7b1c7c31fb
commit
d3aa2addc2
@ -672,7 +672,7 @@ static int32 DoClearBridge(TileIndex tile, uint32 flags)
|
||||
for (c = tile + delta; c != endtile; c += delta) {
|
||||
if (IsTransportUnderBridge(c)) {
|
||||
if (GetTransportTypeUnderBridge(c) == TRANSPORT_RAIL) {
|
||||
MakeRailNormal(c, GetTileOwner(c), GetRailBitsUnderBridge(c), GetRailType(tile));
|
||||
MakeRailNormal(c, GetTileOwner(c), GetRailBitsUnderBridge(c), GetRailType(c));
|
||||
} else {
|
||||
uint town = IsTileOwner(c, OWNER_TOWN) ? ClosestTownFromTile(c, (uint)-1)->index : 0;
|
||||
MakeRoadNormal(c, GetTileOwner(c), GetRoadBitsUnderBridge(c), town);
|
||||
|
Loading…
Reference in New Issue
Block a user