summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2025-02-12 15:32:28 -0500
committerGitHub <noreply@github.com>2025-02-12 21:32:28 +0100
commit266792599ed3a30ede2111ab9621100b42e8dd53 (patch)
tree691186a8cc73cb02422c056f99ff77cba5da54ca /soh/src/code
parent135c2e8217f9bc28223b1d62bff764e7705862b2 (diff)
Add hilite setup calls around all custom GI draws (#5043)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_en_item00.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/soh/src/code/z_en_item00.c b/soh/src/code/z_en_item00.c
index ecdf89316..9a9c60bfa 100644
--- a/soh/src/code/z_en_item00.c
+++ b/soh/src/code/z_en_item00.c
@@ -997,6 +997,12 @@ void EnItem00_Draw(Actor* thisx, PlayState* play) {
EnItem00* this = (EnItem00*)thisx;
f32 mtxScale;
+ // Setup Hilites for 3D drops
+ if (CVarGetInteger(CVAR_ENHANCEMENT("NewDrops"), 0)) {
+ func_8002EBCC(&this->actor, play, 0);
+ func_8002ED80(&this->actor, play, 0);
+ }
+
if (!(this->unk_156 & this->unk_158)) {
switch (this->actor.params) {
case ITEM00_RUPEE_GREEN: