diff options
author | Treeki <treeki@gmail.com> | 2012-09-23 17:15:17 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-23 17:15:17 +0200 |
commit | 7bbcfa56ab06e12181a682227b0481d1f0d9b142 (patch) | |
tree | 2d58d7fabfeca3860baa2c0e69ced1e87e9c6785 /src | |
parent | 01b29290b95a116c9bd18db567fa51b2bec47846 (diff) | |
download | kamek-7bbcfa56ab06e12181a682227b0481d1f0d9b142.tar.gz kamek-7bbcfa56ab06e12181a682227b0481d1f0d9b142.zip |
fixed repeating player effects
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/player.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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++; |