From d492cfc6d9f3ee336408a4a160bc1c8f330936c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Sun, 5 Feb 2023 18:07:04 +0200 Subject: [PATCH] Make clang-format happy --- src/openrct2/ride/Vehicle.cpp | 3 ++- src/openrct2/ride/Vehicle.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openrct2/ride/Vehicle.cpp b/src/openrct2/ride/Vehicle.cpp index 98a8a13cd4..20c65ad4b2 100644 --- a/src/openrct2/ride/Vehicle.cpp +++ b/src/openrct2/ride/Vehicle.cpp @@ -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) { diff --git a/src/openrct2/ride/Vehicle.h b/src/openrct2/ride/Vehicle.h index fd11aae9b2..e8e472bc1d 100644 --- a/src/openrct2/ride/Vehicle.h +++ b/src/openrct2/ride/Vehicle.h @@ -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();