From 028236264630eaa577a03e5648f9ef1ef1ff7918 Mon Sep 17 00:00:00 2001 From: Josh Bodner Date: Sun, 22 May 2022 22:27:18 -0700 Subject: [PATCH] But do make them disappear once they're collected! --- soh/src/code/z_en_item00.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/soh/src/code/z_en_item00.c b/soh/src/code/z_en_item00.c index 5a25c45a8..a7de67900 100644 --- a/soh/src/code/z_en_item00.c +++ b/soh/src/code/z_en_item00.c @@ -894,8 +894,11 @@ void EnItem00_Update(Actor* thisx, GlobalContext* globalCtx) { DroppedItemRot += 100; } - if ((this->unk_15A > 0) && !CVar_GetS32("gDropsDontDie", 0)) { + if (this->unk_15A > 0) { this->unk_15A--; + if (CVar_GetS32("gDropsDontDie", 0) && (this->unk_154 <= 0)) { + this->unk_15A++; + } } if ((this->unk_15A > 0) && (this->unk_15A < 41) && (this->unk_154 <= 0)) {