diff --git a/src/peep/peep.c b/src/peep/peep.c index 9c347137d0..79310fee88 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -7559,7 +7559,7 @@ static void peep_on_enter_ride(rct_peep *peep, int rideIndex) uint16 satisfactionFlags; ride = GET_RIDE(rideIndex); - peep->flags &= ~PEEP_FLAGS_19; + peep->flags &= ~PEEP_FLAGS_RIDE_SHOULD_BE_MARKED_AS_FAVOURITE; if (ride->excitement == (ride_rating)0xFFFF) { satisfactionFlags = 0x1FF; } else { @@ -7652,7 +7652,7 @@ static void peep_on_enter_ride(rct_peep *peep, int rideIndex) if (unkExcitementValue >= peep->var_FA) { if (peep->happiness >= 160 && peep->happiness_growth_rate >= 160) { peep->var_FA = unkExcitementValue; - peep->flags |= PEEP_FLAGS_19; + peep->flags |= PEEP_FLAGS_RIDE_SHOULD_BE_MARKED_AS_FAVOURITE; } } @@ -7724,8 +7724,8 @@ static void peep_on_exit_ride(rct_peep *peep, int rideIndex) { rct_ride *ride = GET_RIDE(rideIndex); - if (peep->flags & PEEP_FLAGS_19) { - peep->flags &= ~PEEP_FLAGS_19; + if (peep->flags & PEEP_FLAGS_RIDE_SHOULD_BE_MARKED_AS_FAVOURITE) { + peep->flags &= ~PEEP_FLAGS_RIDE_SHOULD_BE_MARKED_AS_FAVOURITE; peep->favourite_ride = rideIndex; // TODO fix this flag name or add another one peep->window_invalidate_flags |= PEEP_INVALIDATE_STAFF_STATS; diff --git a/src/peep/peep.h b/src/peep/peep.h index 6d02b8e4a2..2eea21800e 100644 --- a/src/peep/peep.h +++ b/src/peep/peep.h @@ -267,7 +267,7 @@ enum PEEP_FLAGS { PEEP_FLAGS_EATING = (1 << 17), // Reduces hunger PEEP_FLAGS_EXPLODE = (1 << 18), - PEEP_FLAGS_19 = (1 << 19), + PEEP_FLAGS_RIDE_SHOULD_BE_MARKED_AS_FAVOURITE = (1 << 19), PEEP_FLAGS_PARK_ENTRANCE_CHOSEN = (1 << 20), //Set when the nearest park entrance has been chosen PEEP_FLAGS_21 = (1 << 21),