mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Apply review suggestions
This commit is contained in:
@@ -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!
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user