From 43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Sep 2011 16:14:31 +0300 Subject: Simplify particle effects draw order. --- src/particle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particle.h') diff --git a/src/particle.h b/src/particle.h index e90a1f37f..c2b33cc52 100644 --- a/src/particle.h +++ b/src/particle.h @@ -109,7 +109,7 @@ class Particle : public Actor * Necessary for sorting with the other sprites. */ virtual int getPixelY() const - { return static_cast(mPos.y + mPos.z) - 64; } + { return static_cast(mPos.y) - 64; } /** * Creates a blank particle as a child of the current particle -- cgit v1.2.3-60-g2f50