From 72f3fd38b4030819b2ee21796c8a627b4fbdf3f0 Mon Sep 17 00:00:00 2001 From: inspectredc Date: Fri, 25 Aug 2023 23:12:49 +0300 Subject: [PATCH] committing to commit the commit --- soh/src/overlays/actors/ovl_player_actor/z_player.c | 8 -------- 1 file changed, 8 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 096c270aa07..c7e9c067d50 100644 --- a/soh/src/overlays/actors/ovl_player_actor/z_player.c +++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c @@ -9686,14 +9686,6 @@ void Player_Init(Actor* thisx, PlayState* play2) { sMaskMemory = PLAYER_MASK_NONE; } this->currentMask = sMaskMemory; - // for (uint16_t cSlotIndex = 0; cSlotIndex < ARRAY_COUNT(gSaveContext.equips.cButtonSlots); cSlotIndex++) { - // if (gSaveContext.equips.cButtonSlots[cSlotIndex] == SLOT_TRADE_CHILD && - // (gItemAgeReqs[gSaveContext.equips.buttonItems[cSlotIndex + 1]] != 9 && LINK_IS_ADULT && - // !CVarGetInteger("gTimelessEquipment", 0))) { - // gSaveContext.equips.cButtonSlots[cSlotIndex] = SLOT_NONE; - // gSaveContext.equips.buttonItems[cSlotIndex + 1] = ITEM_NONE; - // } - // } } Player_InitCommon(this, play, gPlayerSkelHeaders[((void)0, gSaveContext.linkAge)]); this->giObjectSegment = (void*)(((uintptr_t)ZELDA_ARENA_MALLOC_DEBUG(0x3008) + 8) & ~0xF);