From 4c72710e02437daed9c9bceffb053b85d6305f09 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Mon, 2 Nov 2015 20:08:55 +0000 Subject: [PATCH] Fix issue introduced in last commit --- src/scenario.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenario.c b/src/scenario.c index 4b910753fd..76b6b6768e 100644 --- a/src/scenario.c +++ b/src/scenario.c @@ -505,7 +505,7 @@ void scenario_entrance_fee_too_high_check() int max_fee = totalRideValue + (totalRideValue / 2); uint32 game_flags = RCT2_GLOBAL(RCT2_ADDRESS_PARK_FLAGS, uint32), packed_xy; - if ((game_flags & PARK_FLAGS_PARK_OPEN) && (!game_flags & PARK_FLAGS_NO_MONEY) && park_entrance_fee > max_fee) { + if ((game_flags & PARK_FLAGS_PARK_OPEN) && !(game_flags & PARK_FLAGS_NO_MONEY) && park_entrance_fee > max_fee) { for (int i = 0; RCT2_ADDRESS(RCT2_ADDRESS_PARK_ENTRANCE_X, sint16)[i] != SPRITE_LOCATION_NULL; i++) { x = RCT2_ADDRESS(RCT2_ADDRESS_PARK_ENTRANCE_X, sint16)[i] + 16; y = RCT2_ADDRESS(RCT2_ADDRESS_PARK_ENTRANCE_Y, sint16)[i] + 16;