diff -r 172b409bf612 -r 56c250955b3b 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) {