From 24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Fri, 27 Jul 2012 02:37:22 -0500 Subject: BROKEN - something wrong with includes, possibly related to the order =| --- src/koopatlas/player.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/koopatlas/player.cpp') 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++; -- cgit v1.2.3