From 4f6375b458c4e0c060fad4f29a65c12d5bb8347e Mon Sep 17 00:00:00 2001 From: Patrick12115 Date: Mon, 11 Nov 2024 16:30:18 -0500 Subject: [PATCH] Fix function call --- soh/src/overlays/actors/ovl_player_actor/z_player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soh/src/overlays/actors/ovl_player_actor/z_player.c b/soh/src/overlays/actors/ovl_player_actor/z_player.c index 06ad05597..79b3974b9 100644 --- a/soh/src/overlays/actors/ovl_player_actor/z_player.c +++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c @@ -7384,8 +7384,8 @@ s32 Player_ActionHandler_2(Player* this, PlayState* play) { } if ((this->heldActor == NULL) || Player_HoldsHookshot(this)) { - if ((interactedActor->id == ACTOR_BG_TOKI_SWD) && LINK_IS_ADULT && - !(Randomizer_GetSettingValue(RSK_SHUFFLE_MASTER_SWORD && !CHECK_OWNED_EQUIP(EQUIP_TYPE_SWORD, EQUIP_INV_SWORD_MASTER)))) { + if ((interactedActor->id == ACTOR_BG_TOKI_SWD) && LINK_IS_ADULT && !(IS_RANDO && + Randomizer_GetSettingValue(RSK_SHUFFLE_MASTER_SWORD) && !CHECK_OWNED_EQUIP(EQUIP_TYPE_SWORD, EQUIP_INV_SWORD_MASTER))) { s32 sp24 = this->itemAction; this->itemAction = PLAYER_IA_NONE;