summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/ActorBehavior/EnItem00.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/Rando/ActorBehavior/EnItem00.cpp')
-rw-r--r--mm/2s2h/Rando/ActorBehavior/EnItem00.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnItem00.cpp b/mm/2s2h/Rando/ActorBehavior/EnItem00.cpp
index feed09798..718652112 100644
--- a/mm/2s2h/Rando/ActorBehavior/EnItem00.cpp
+++ b/mm/2s2h/Rando/ActorBehavior/EnItem00.cpp
@@ -113,6 +113,11 @@ void Rando::ActorBehavior::InitEnItem00Behavior() {
// Prevent the original item from spawning
*should = false;
- spawnReplacementItem(actor->world.pos, randoStaticCheck);
+ EnItem00* replacementItem = spawnReplacementItem(actor->world.pos, randoStaticCheck);
+
+ // Wonder Items are supposed to be invisible
+ if (randoStaticCheck.randoCheckType == RCTYPE_WONDER_ITEM) {
+ replacementItem->actor.draw = NULL;
+ }
});
}