From 2b6543c3212cf967191cac889a1e69b2351fff00 Mon Sep 17 00:00:00 2001 From: JordanLongstaff Date: Sat, 9 Nov 2024 23:05:36 -0500 Subject: [PATCH] A bit more cleanup: simplify a redundant condition --- soh/soh/Enhancements/randomizer/hook_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index 71940b9cc..5bce1730d 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -1774,7 +1774,7 @@ void RandomizerOnActorInitHandler(void* actorRef) { [](void* innerActorRef) mutable { Actor* innerActor = static_cast(innerActorRef); Rando::Option& waterfallOption = Rando::Context::GetInstance()->GetOption(RSK_SLEEPING_WATERFALL); - if (innerActor->id == ACTOR_BG_SPOT03_TAKI && waterfallOption.IsNot(RO_WATERFALL_CLOSED) && (waterfallOption.Is(RO_WATERFALL_OPEN) || LINK_IS_ADULT)) { + if (innerActor->id == ACTOR_BG_SPOT03_TAKI && waterfallOption.Is(RO_WATERFALL_OPEN)) { BgSpot03Taki* bgSpot03 = static_cast(innerActorRef); if (bgSpot03->actionFunc == func_808ADEF0) { bgSpot03->actionFunc = BgSpot03Taki_KeepOpen;