From dcf6c85bf2a9b88e8b2839e3aebc91e5576d111e Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 15 Mar 2006 16:47:35 +0000 Subject: (svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887 --- tunnelbridge_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index f0d81207d..a14386280 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -809,7 +809,7 @@ int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec) if (!CheckTileOwnership(tile)) return CMD_ERROR; // railway bridge - tile = GetOtherBridgeEnd(tile); + endtile = GetOtherBridgeEnd(tile); // Make sure there's no vehicle on the bridge v = FindVehicleBetween(tile, endtile, z); if (v != NULL) { -- cgit v1.2.3-70-g09d2