From 726fd9ef1d3eb8c1ab0afe22d3f630ff2fd6bac7 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Tue, 9 Dec 2014 19:46:42 +0000 Subject: [PATCH] add RIDE_LIFECYCLE_18 to enum --- src/management/award.c | 2 +- src/ride/ride.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/management/award.c b/src/management/award.c index 31b2fe356d..a30c45d054 100644 --- a/src/management/award.c +++ b/src/management/award.c @@ -461,7 +461,7 @@ static int award_is_deserved_best_custom_designed_rides(int awardType, int activ FOR_ALL_RIDES(i, ride) { if (!(RCT2_GLOBAL(RCT2_ADDRESS_RIDE_FLAGS + (ride->type * 8), uint32) & 0x10000000)) continue; - if (ride->lifecycle_flags & 0x40000) + if (ride->lifecycle_flags & RIDE_LIFECYCLE_18) continue; if (ride->excitement < RIDE_RATING(5, 50)) continue; diff --git a/src/ride/ride.h b/src/ride/ride.h index 8bfe4dcea9..c6241ae1f3 100644 --- a/src/ride/ride.h +++ b/src/ride/ride.h @@ -293,6 +293,7 @@ enum { RIDE_LIFECYCLE_INDESTRUCTIBLE_TRACK = 1 << 15, RIDE_LIFECYCLE_CABLE_LIFT = 1 << 17, + RIDE_LIFECYCLE_18 = 1 << 18, RIDE_LIFECYCLE_19 = 1 << 19 };