From 9b1c970c70f30733d5d851b834a860365819409c Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 6 Jun 2011 00:37:29 -0600 Subject: 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 --- src/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/localplayer.cpp') 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); -- cgit v1.2.3-70-g09d2