(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
authortron
Wed, 15 Mar 2006 16:47:35 +0000
changeset 3215 56c250955b3b
parent 3214 172b409bf612
child 3216 ac69372a0833
(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
tunnelbridge_cmd.c
--- a/tunnelbridge_cmd.c	Wed Mar 15 16:44:50 2006 +0000
+++ b/tunnelbridge_cmd.c	Wed Mar 15 16:47:35 2006 +0000
@@ -809,7 +809,7 @@
 		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) {