From 6c5362fbd4c907af8cd873df1900cef028e156af Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 13 Feb 2012 20:13:04 +0100 Subject: Fixed drawing order of particles This getDrawOrder hack is no longer necessary. It basically moved to the ActorSprite, in the other direction. Reviewed-by: Erik Schilling --- src/particle.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/particle.h') diff --git a/src/particle.h b/src/particle.h index c82cfbf1..18deb5c7 100644 --- a/src/particle.h +++ b/src/particle.h @@ -92,11 +92,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 */ -- cgit v1.2.3-60-g2f50