diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/particle.cpp | 5 | ||||
-rw-r--r-- | src/particle.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/particle.cpp b/src/particle.cpp index e8c433c6..f84bb2ed 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -453,11 +453,6 @@ float Particle::getCurrentAlpha() const return alpha; } -int Particle::getDrawOrder() const -{ - return (int)(mPos.y) - 16; -} - void Particle::clear() { delete_all(mChildEmitters); diff --git a/src/particle.h b/src/particle.h index c82cfbf1..18deb5c7 100644 --- a/src/particle.h +++ b/src/particle.h @@ -93,11 +93,6 @@ class Particle : public Actor virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const; /** - * Necessary for sorting with the other sprites. - */ - virtual int getDrawOrder() const; - - /** * Do not draw particles when beind other objects */ virtual bool drawnWhenBehind() const |