1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Make clang-format happy

This commit is contained in:
ζeh Matt
2023-02-05 18:07:04 +02:00
parent bf9efc7f84
commit d492cfc6d9
2 changed files with 4 additions and 2 deletions

View File

@@ -8821,7 +8821,8 @@ static uint8_t modified_speed(uint16_t trackType, VehicleTrackSubposition trackS
return speed;
}
int32_t Vehicle::UpdateTrackMotionPoweredRideAcceleration(const CarEntry* carEntry, uint32_t totalMass, const int32_t curAcceleration)
int32_t Vehicle::UpdateTrackMotionPoweredRideAcceleration(
const CarEntry* carEntry, uint32_t totalMass, const int32_t curAcceleration)
{
if (carEntry->flags & CAR_ENTRY_FLAG_POWERED_RIDE_UNRESTRICTED_GRAVITY)
{

View File

@@ -335,7 +335,8 @@ private:
bool CurrentTowerElementIsTop();
bool UpdateTrackMotionForwards(const CarEntry* carEntry, const Ride& curRide, const RideObjectEntry& rideEntry);
bool UpdateTrackMotionBackwards(const CarEntry* carEntry, const Ride& curRide, const RideObjectEntry& rideEntry);
int32_t UpdateTrackMotionPoweredRideAcceleration(const CarEntry* carEntry, uint32_t totalMass, const int32_t curAcceleration);
int32_t UpdateTrackMotionPoweredRideAcceleration(
const CarEntry* carEntry, uint32_t totalMass, const int32_t curAcceleration);
int32_t NumPeepsUntilTrainTail() const;
void InvalidateWindow();
void TestReset();