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

Apply review suggestions

This commit is contained in:
ζeh Matt
2023-03-21 16:07:42 +02:00
parent 9610578621
commit 1ae20ca3f2
2 changed files with 2 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ namespace OpenRCT2
constexpr uint32_t PARK_FILE_CURRENT_VERSION = 21;
// The minimum version that is forwards compatible with the current version.
constexpr uint32_t PARK_FILE_MIN_VERSION = 19;
constexpr uint32_t PARK_FILE_MIN_VERSION = 21;
// The minimum version that is backwards compatible with the current version.
// If this is increased beyond 0, uncomment the checks in ParkFile.cpp and Context.cpp!

View File

@@ -6,6 +6,7 @@
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "RideRatings.h"
#include "../Cheats.h"
@@ -109,12 +110,6 @@ void RideRatingResetUpdateStates()
std::fill(gRideRatingUpdateStates.begin(), gRideRatingUpdateStates.end(), nullState);
}
RideRatingUpdateState& RideRatingGetUpdateState(size_t index)
{
Guard::IndexInRange(index, gRideRatingUpdateStates);
return gRideRatingUpdateStates[index];
}
/**
* This is a small hack function to keep calling the ride rating processor until
* the given ride's ratings have been calculated. Whatever is currently being