From 8250998753ab423802557d4284fd906a9d8ae2be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Oct 2011 21:49:50 +0300 Subject: Fix particle effect Y order. --- src/particle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/particle.h b/src/particle.h index c360a5e94..7220ad258 100644 --- a/src/particle.h +++ b/src/particle.h @@ -111,7 +111,7 @@ class Particle : public Actor * Necessary for sorting with the other sprites. */ virtual int getPixelY() const - { return static_cast(mPos.y) - 64; } + { return static_cast(mPos.y) - 16; } /** * Creates a blank particle as a child of the current particle -- cgit v1.2.3-60-g2f50