summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/player.cpp')
-rw-r--r--src/koopatlas/player.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp
index ebd0124..3f791b6 100644
--- a/src/koopatlas/player.cpp
+++ b/src/koopatlas/player.cpp
@@ -48,8 +48,9 @@ int daWMPlayer_c::onExecute() {
this->modelHandler->setSRT(modifiedPos, this->rot, this->scale);
if (hasEffect) {
- Vec effPos = {pos.x, pos.y, -1000.0};
- effect.spawn(effectName, 0, &effPos, &rot, &scale); }
+ Vec effPos = {pos.x, pos.y, 3300.0f};
+ effect.spawn(effectName, 0, &effPos, &rot, &scale);
+ }
if (hasSound) {
timer++;
@@ -67,6 +68,9 @@ int daWMPlayer_c::onExecute() {
}
int daWMPlayer_c::onDraw() {
+ if (!visible)
+ return true;
+
this->modelHandler->draw();
hammerSuit.draw();