diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-06 16:14:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-06 16:30:16 +0300 |
commit | 43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a (patch) | |
tree | fcfc459c619959d19f2722a3c24b24dd75ce81ee /src/particle.h | |
parent | 675d59fd09991ccadd3becdda86ec72833fc3db7 (diff) | |
download | manaverse-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.gz manaverse-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.bz2 manaverse-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.tar.xz manaverse-43c6d2d94d6f5e5c86b20ec083e960f9fa6fbb4a.zip |
Simplify particle effects draw order.
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 2 |
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 |