(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887

This commit is contained in:
tron 2006-03-15 16:47:35 +00:00
parent 3d9c76d8b8
commit dcf6c85bf2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {