From 8f30423a5546f8d6e35e3cf460de5c23108ae57d Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Fri, 20 May 2022 21:48:55 -0400 Subject: [PATCH] Sets collectibleFlag whether cvar is on or not to prevent duping. --- soh/src/overlays/actors/ovl_En_Tk/z_en_tk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/soh/src/overlays/actors/ovl_En_Tk/z_en_tk.c b/soh/src/overlays/actors/ovl_En_Tk/z_en_tk.c index b7498e965..27c599b6d 100644 --- a/soh/src/overlays/actors/ovl_En_Tk/z_en_tk.c +++ b/soh/src/overlays/actors/ovl_En_Tk/z_en_tk.c @@ -624,9 +624,7 @@ void EnTk_Dig(EnTk* this, GlobalContext* globalCtx) { EnItem00* reward = Item_DropCollectible(globalCtx, &rewardPos, rewardParams[this->currentReward]); if (this->currentReward == 4) { - if (CVar_GetS32("gGravediggingTourFix", 0) != 0) { - reward->collectibleFlag = 0x19; - } + reward->collectibleFlag = 0x19; } } }