From 7bbcfa56ab06e12181a682227b0481d1f0d9b142 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 23 Sep 2012 17:15:17 +0200 Subject: fixed repeating player effects --- src/koopatlas/player.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/koopatlas') diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp index ebd0124..ed2aa5b 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++; -- cgit v1.2.3