summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-06 16:14:31 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-06 16:30:16 +0300
commit43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a (patch)
treefcfc459c619959d19f2722a3c24b24dd75ce81ee
parent675d59fd09991ccadd3becdda86ec72833fc3db7 (diff)
downloadmanaplus-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.gz
manaplus-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.bz2
manaplus-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.xz
manaplus-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.zip
Simplify particle effects draw 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 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<int>(mPos.y + mPos.z) - 64; }
+ { return static_cast<int>(mPos.y) - 64; }
/**
* Creates a blank particle as a child of the current particle