diff options
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/player.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp index 4a15f94..5531301 100644 --- a/src/koopatlas/player.cpp +++ b/src/koopatlas/player.cpp @@ -40,7 +40,9 @@ int daWMPlayer_c::onExecute() { Vec modifiedPos = {pos.x, pos.y + jumpOffset, pos.z}; this->modelHandler->setSRT(modifiedPos, this->rot, this->scale); - if (hasEffect) { effect.spawn(effectName, 0, &pos, &rot, &scale); } + if (hasEffect) { + Vec effPos = {pos.x, pos.y, -1000.0}; + effect.spawn(effectName, 0, &effPos, &rot, &scale); } if (hasSound) { timer++; |