From 61051adb24d69f2245d052994d9be699d2928461 Mon Sep 17 00:00:00 2001 From: JordanLongstaff Date: Wed, 29 Jan 2025 23:46:48 -0500 Subject: [PATCH] Update INFTABLE_193 reference --- soh/soh/Enhancements/mods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/mods.cpp b/soh/soh/Enhancements/mods.cpp index b892a1282..48de65f16 100644 --- a/soh/soh/Enhancements/mods.cpp +++ b/soh/soh/Enhancements/mods.cpp @@ -674,7 +674,7 @@ void RegisterDekuNutUpgradeFix() { if (!GameInteractor::IsSaveLoaded(true)) return; if (CVarGetInteger(CVAR_ENHANCEMENT("DekuNutUpgradeFix"), 0)) { s32 expectedNutUpgrades = (INV_CONTENT(ITEM_NUT) == ITEM_NUT ? 1 : 0) + - (Flags_GetInfTable(INFTABLE_193) ? 1 : 0) + + (Flags_GetInfTable(INFTABLE_BOUGHT_NUT_UPGRADE) ? 1 : 0) + (Flags_GetItemGetInf(ITEMGETINF_OBTAINED_NUT_UPGRADE_FROM_STAGE) ? 1 : 0); s32 actualNutUpgrades = CUR_UPG_VALUE(UPG_NUTS); if (expectedNutUpgrades != actualNutUpgrades) {