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

Remove goto label loc_6DC99A

This commit is contained in:
frutiemax
2022-12-23 21:51:11 -05:00
committed by Gymnasiast
parent 535b485d37
commit 580852351f

View File

@@ -8508,7 +8508,14 @@ Loc6DC743:
UpdateMotionCollisionDetection(trackPos, &otherVehicleIndex);
}
}
goto Loc6DC99A;
if (remaining_distance < 0x368A)
{
Loc6DCDE4(curRide);
return;
}
acceleration = AccelerationFromPitch[Pitch];
_vehicleUnkF64E10++;
goto Loc6DC462;
Loc6DC985:
remaining_distance -= 0x368A;
@@ -8517,7 +8524,6 @@ Loc6DC985:
remaining_distance = 0;
}
Loc6DC99A:
if (remaining_distance < 0x368A)
{
Loc6DCDE4(curRide);
@@ -8556,7 +8562,14 @@ Loc6DCA9A:
_vehicleMotionTrackFlags |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_5;
_vehicleVelocityF64E0C -= remaining_distance - 0x368A;
remaining_distance = 0x368A;
goto Loc6DC99A;
if (remaining_distance < 0x368A)
{
Loc6DCDE4(curRide);
return;
}
acceleration = AccelerationFromPitch[Pitch];
_vehicleUnkF64E10++;
goto Loc6DC462;
}
{
@@ -8649,7 +8662,14 @@ Loc6DCA9A:
vEBP->velocity = vEDI->velocity >> 1;
}
_vehicleMotionTrackFlags |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_2;
goto Loc6DC99A;
if (remaining_distance < 0x368A)
{
Loc6DCDE4(curRide);
return;
}
acceleration = AccelerationFromPitch[Pitch];
_vehicleUnkF64E10++;
goto Loc6DC462;
}
}
}