diff --git a/src/openrct2/park/ParkFile.h b/src/openrct2/park/ParkFile.h index 8f8ea15236..69fe23f2b5 100644 --- a/src/openrct2/park/ParkFile.h +++ b/src/openrct2/park/ParkFile.h @@ -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! diff --git a/src/openrct2/ride/RideRatings.cpp b/src/openrct2/ride/RideRatings.cpp index 3027406bc8..4ccdeb90f3 100644 --- a/src/openrct2/ride/RideRatings.cpp +++ b/src/openrct2/ride/RideRatings.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