1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Remove label loc_6DCA7A

This commit is contained in:
hdpoliveira
2020-05-09 22:31:48 -03:00
parent bf8459d61d
commit 95a13cd96b

View File

@@ -8712,11 +8712,7 @@ void Vehicle::UpdateTrackMotionMiniGolfVehicle(
_vehicleUnkF64E10 = 1;
acceleration = dword_9A2970[vehicle_sprite_type];
remaining_distance = _vehicleVelocityF64E0C + remaining_distance;
if (remaining_distance < 0)
{
goto loc_6DCA7A;
}
if (remaining_distance < 0x368A)
if (remaining_distance >= 0 && remaining_distance < 0x368A)
{
goto loc_6DCE02;
}
@@ -8725,6 +8721,8 @@ void Vehicle::UpdateTrackMotionMiniGolfVehicle(
unk_F64E20.y = y;
unk_F64E20.z = z;
Invalidate();
if (remaining_distance < 0)
goto loc_6DCA9A;
loc_6DC462:
if (var_D3 == 0)
@@ -9044,17 +9042,6 @@ loc_6DC9BC:
remaining_distance = -1;
goto loc_6DCD2B;
/////////////////////////////////////////
// Dead code: 0x006DC9D9 to 0x006DCA79 //
/////////////////////////////////////////
loc_6DCA7A:
sound2_flags &= ~VEHICLE_SOUND2_FLAGS_LIFT_HILL;
unk_F64E20.x = x;
unk_F64E20.y = y;
unk_F64E20.z = z;
Invalidate();
loc_6DCA9A:
regs.ax = track_progress - 1;
if (static_cast<uint16_t>(regs.ax) != 0xFFFF)