diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-27 02:37:22 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-27 02:37:22 -0500 |
commit | 24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3 (patch) | |
tree | c1514a236b6e3ff47f6904dd8449ac67560378a7 /src/koopatlas/player.cpp | |
parent | eeac833d24e897fbfed0920921aec7e55b006793 (diff) | |
download | kamek-24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3.tar.gz kamek-24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3.zip |
BROKEN - something wrong with includes, possibly related to the order =|
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++; |