diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2008-12-14 03:43:37 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-14 09:13:39 -0700 |
commit | 712744c5c985a906891a41679adbe6468e82649b (patch) | |
tree | c6f49cd89cf84e00212ba655629465a6c8cf106b /src/being.cpp | |
parent | ae7cd9ca453aee25ccf1f4eb277ab77144910da5 (diff) | |
download | mana-712744c5c985a906891a41679adbe6468e82649b.tar.gz mana-712744c5c985a906891a41679adbe6468e82649b.tar.bz2 mana-712744c5c985a906891a41679adbe6468e82649b.tar.xz mana-712744c5c985a906891a41679adbe6468e82649b.zip |
Fixed follow-parent of nested and being-following particle emitters
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index d98af29c..3f4c5d9c 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -424,8 +424,10 @@ void Being::logic() } } - //Update particle effects - mChildParticleEffects.setPositions((float)mPx + 16.0f, (float)mPy + 32.0f); + // Update particle effects + mChildParticleEffects.moveTo((float) mPx + 16.0f, + (float) mPy + 32.0f); + } void Being::draw(Graphics *graphics, int offsetX, int offsetY) const |