summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-05 21:49:50 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-05 21:49:50 +0300
commit8250998753ab423802557d4284fd906a9d8ae2be (patch)
treef5bf31e000a7acf44b4251d349540272e81f8971
parentb20fa9874a57e74673afa423de63820cb32cd21a (diff)
downloadplus-8250998753ab423802557d4284fd906a9d8ae2be.tar.gz
plus-8250998753ab423802557d4284fd906a9d8ae2be.tar.bz2
plus-8250998753ab423802557d4284fd906a9d8ae2be.tar.xz
plus-8250998753ab423802557d4284fd906a9d8ae2be.zip
Fix particle effect Y order.
-rw-r--r--src/particle.h2
1 files changed, 1 insertions, 1 deletions
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<int>(mPos.y) - 64; }
+ { return static_cast<int>(mPos.y) - 16; }
/**
* Creates a blank particle as a child of the current particle