mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
This commit is contained in:
parent
3d9c76d8b8
commit
dcf6c85bf2
|
@ -809,7 +809,7 @@ int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec)
|
||||||
if (!CheckTileOwnership(tile)) return CMD_ERROR;
|
if (!CheckTileOwnership(tile)) return CMD_ERROR;
|
||||||
|
|
||||||
// railway bridge
|
// railway bridge
|
||||||
tile = GetOtherBridgeEnd(tile);
|
endtile = GetOtherBridgeEnd(tile);
|
||||||
// Make sure there's no vehicle on the bridge
|
// Make sure there's no vehicle on the bridge
|
||||||
v = FindVehicleBetween(tile, endtile, z);
|
v = FindVehicleBetween(tile, endtile, z);
|
||||||
if (v != NULL) {
|
if (v != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue