mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Integrate loc_6DBE7F
This commit is contained in:
@@ -8672,23 +8672,6 @@ loc_6DBA33:;
|
|||||||
otherVehicleIndex = next_vehicle_on_ride;
|
otherVehicleIndex = next_vehicle_on_ride;
|
||||||
if (UpdateMotionCollisionDetection(loc, &otherVehicleIndex))
|
if (UpdateMotionCollisionDetection(loc, &otherVehicleIndex))
|
||||||
{
|
{
|
||||||
goto loc_6DBE7F;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// loc_6DBE3F
|
|
||||||
if (remaining_distance >= 0)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
regs.ebx = dword_9A2970[moveInfoVehicleSpriteType];
|
|
||||||
acceleration += regs.ebx;
|
|
||||||
_vehicleUnkF64E10++;
|
|
||||||
goto loc_6DBA33;
|
|
||||||
|
|
||||||
loc_6DBE7F:
|
|
||||||
_vehicleVelocityF64E0C -= remaining_distance - 0x368A;
|
_vehicleVelocityF64E0C -= remaining_distance - 0x368A;
|
||||||
remaining_distance = 0x368A;
|
remaining_distance = 0x368A;
|
||||||
|
|
||||||
@@ -8725,6 +8708,20 @@ loc_6DBE7F:
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// loc_6DBE3F
|
||||||
|
if (remaining_distance >= 0)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
regs.ebx = dword_9A2970[moveInfoVehicleSpriteType];
|
||||||
|
acceleration += regs.ebx;
|
||||||
|
_vehicleUnkF64E10++;
|
||||||
|
goto loc_6DBA33;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* rct2: 0x006DC3A7
|
* rct2: 0x006DC3A7
|
||||||
|
|||||||
Reference in New Issue
Block a user