From 62c9069c9fc56343d70effd16cfaa587815714aa Mon Sep 17 00:00:00 2001 From: adrian17 Date: Mon, 12 May 2014 22:22:20 +0200 Subject: [PATCH] Increase the warning_throttle array size to hold all 7 values --- src/peep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peep.c b/src/peep.c index 8a04b3e95d..2e7af42148 100644 --- a/src/peep.c +++ b/src/peep.c @@ -87,7 +87,7 @@ void peep_problem_warnings_update() uint16 guests_in_park = RCT2_GLOBAL(RCT2_ADDRESS_GUESTS_IN_PARK, uint16); int hunger_counter = 0, lost_counter = 0, noexit_counter = 0, thirst_counter = 0, litter_counter = 0, disgust_counter = 0, bathroom_counter = 0 ,vandalism_counter = 0; - static int warning_throttle[6] = { 0, 0, 0, 0, 0, 0 }; + static int warning_throttle[7] = { 0, 0, 0, 0, 0, 0, 0 }; RCT2_GLOBAL(RCT2_ADDRESS_RIDE_COUNT, sint16) = ride_get_count(); // refactor this to somewhere else