mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
A bit more cleanup: simplify a redundant condition
This commit is contained in:
parent
2ba18a6bb7
commit
2b6543c321
@ -1774,7 +1774,7 @@ void RandomizerOnActorInitHandler(void* actorRef) {
|
||||
[](void* innerActorRef) mutable {
|
||||
Actor* innerActor = static_cast<Actor*>(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<BgSpot03Taki*>(innerActorRef);
|
||||
if (bgSpot03->actionFunc == func_808ADEF0) {
|
||||
bgSpot03->actionFunc = BgSpot03Taki_KeepOpen;
|
||||
|
Loading…
Reference in New Issue
Block a user