diff --git a/src/openrct2/ride/Ride.h b/src/openrct2/ride/Ride.h index 53e28ec78d..c12b9ef884 100644 --- a/src/openrct2/ride/Ride.h +++ b/src/openrct2/ride/Ride.h @@ -503,8 +503,9 @@ enum RIDE_LIFECYCLE_INDESTRUCTIBLE_TRACK = 1 << 15, RIDE_LIFECYCLE_CABLE_LIFT_HILL_COMPONENT_USED = 1 << 16, RIDE_LIFECYCLE_CABLE_LIFT = 1 << 17, - RIDE_LIFECYCLE_NOT_CUSTOM_DESIGN = 1 << 18, // Used for the Award for Best Custom-designed Rides - RIDE_LIFECYCLE_SIX_FLAGS_DEPRECATED = 1 << 19 // Not used anymore + RIDE_LIFECYCLE_NOT_CUSTOM_DESIGN = 1 << 18, // Used for the Award for Best Custom-designed Rides + RIDE_LIFECYCLE_SIX_FLAGS_DEPRECATED = 1 << 19, // Not used anymore + RIDE_LIFECYCLE_FIXED_RATINGS = 1 << 20, // When set, the ratings will not be updated (useful for hacked rides). }; // Constants used by the ride_type->flags property at 0x008 diff --git a/src/openrct2/ride/RideRatings.cpp b/src/openrct2/ride/RideRatings.cpp index f39a63a073..33e4b6fcbd 100644 --- a/src/openrct2/ride/RideRatings.cpp +++ b/src/openrct2/ride/RideRatings.cpp @@ -163,7 +163,7 @@ static void ride_ratings_update_state_0() } auto ride = get_ride(currentRide); - if (ride != nullptr && ride->status != RIDE_STATUS_CLOSED) + if (ride != nullptr && ride->status != RIDE_STATUS_CLOSED && !(ride->lifecycle_flags & RIDE_LIFECYCLE_FIXED_RATINGS)) { gRideRatingsCalcData.State = RIDE_RATINGS_STATE_INITIALISE; }