summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-06-06 00:37:29 -0600
committerJared Adams <jaxad0127@gmail.com>2011-06-07 08:24:04 -0600
commit9b1c970c70f30733d5d851b834a860365819409c (patch)
tree860f19199c810d50fdd166a397f9c78b0c46ce10 /src/localplayer.cpp
parent70a0d0bd23a3f2df5441f037c204604e52935974 (diff)
downloadmana-9b1c970c70f30733d5d851b834a860365819409c.tar.gz
mana-9b1c970c70f30733d5d851b834a860365819409c.tar.bz2
mana-9b1c970c70f30733d5d851b834a860365819409c.tar.xz
mana-9b1c970c70f30733d5d851b834a860365819409c.zip
Fix particle positions
Particles were being drawn with wrong positions due to their Z coordinate being taken into account when sorting actors. Z is now only taken into account when drawing them. Reviewed-by: Bertram
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index bc041def..a1914c78 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -119,7 +119,7 @@ void LocalPlayer::logic()
particleEngine->addTextRiseFadeOutEffect(
info.first,
getPixelX(),
- getPixelY() - 48,
+ getDrawPixelY() - 48,
&userPalette->getColor(info.second),
gui->getInfoParticleFont(), true);