equal
deleted
inserted
replaced
807 z += 8; |
807 z += 8; |
808 |
808 |
809 if (!CheckTileOwnership(tile)) return CMD_ERROR; |
809 if (!CheckTileOwnership(tile)) return CMD_ERROR; |
810 |
810 |
811 // railway bridge |
811 // railway bridge |
812 tile = GetOtherBridgeEnd(tile); |
812 endtile = GetOtherBridgeEnd(tile); |
813 // Make sure there's no vehicle on the bridge |
813 // Make sure there's no vehicle on the bridge |
814 v = FindVehicleBetween(tile, endtile, z); |
814 v = FindVehicleBetween(tile, endtile, z); |
815 if (v != NULL) { |
815 if (v != NULL) { |
816 VehicleInTheWayErrMsg(v); |
816 VehicleInTheWayErrMsg(v); |
817 return CMD_ERROR; |
817 return CMD_ERROR; |