mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 15:00:13 -05:00
Update INFTABLE_193 reference
This commit is contained in:
parent
019f1516b0
commit
61051adb24
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user