diff options
author | tron <tron@openttd.org> | 2006-03-17 13:28:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-17 13:28:50 +0000 |
commit | dacbf1a4330e5b5a58cfe89b35a67107245510b3 (patch) | |
tree | 1d5162c6a5c1305673ecacf3e51dde37400a9d8d | |
parent | 89090790c2405a738f5977310549cf94df9c06cb (diff) | |
download | openttd-dacbf1a4330e5b5a58cfe89b35a67107245510b3.tar.xz |
(svn r3922) Fix copy&pasto in r3916 (Slowly it's getting a bad habit)
-rw-r--r-- | tunnelbridge_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 58b72bf2a..0095fca85 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -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); |