mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-21 23:58:51 -05:00
Bunny hood Equip Swap Fix in Scene Transition (#3152)
* test? no clue why this section was added * committing to commit the commit
This commit is contained in:
parent
3d0075e6ef
commit
e31b2fd9a4
@ -9687,14 +9687,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);
|
||||
|
Loading…
Reference in New Issue
Block a user