mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
fix equip now enhancement running with non-equipment items (#2590)
This commit is contained in:
parent
0a67e42f6c
commit
ce115272cd
@ -12604,7 +12604,8 @@ s32 func_8084DFF4(PlayState* play, Player* this) {
|
||||
}
|
||||
this->unk_84F = 1;
|
||||
equipItem = giEntry.itemId;
|
||||
equipNow = CVarGetInteger("gAskToEquip", 0) && equipItem >= ITEM_SWORD_KOKIRI && equipItem <= ITEM_TUNIC_ZORA &&
|
||||
equipNow = CVarGetInteger("gAskToEquip", 0) && giEntry.modIndex == MOD_NONE &&
|
||||
equipItem >= ITEM_SWORD_KOKIRI && equipItem <= ITEM_TUNIC_ZORA &&
|
||||
((gItemAgeReqs[equipItem] == 9 || gItemAgeReqs[equipItem] == gSaveContext.linkAge) ||
|
||||
CVarGetInteger("gTimelessEquipment", 0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user