summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-13 20:13:04 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-13 21:12:15 +0100
commit6c5362fbd4c907af8cd873df1900cef028e156af (patch)
tree575a87ae18b6a66b6db1e794461016d234005e57 /src/particle.h
parent831833f5cf698a6432e2cc801372fad5a87f895a (diff)
downloadmana-6c5362fbd4c907af8cd873df1900cef028e156af.tar.gz
mana-6c5362fbd4c907af8cd873df1900cef028e156af.tar.bz2
mana-6c5362fbd4c907af8cd873df1900cef028e156af.tar.xz
mana-6c5362fbd4c907af8cd873df1900cef028e156af.zip
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
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h5
1 files changed, 0 insertions, 5 deletions
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