summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-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