summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index b702cf1a..c6fd63ed 100644
--- a/src/being.h
+++ b/src/being.h
@@ -279,6 +279,9 @@ class Being : public ActorSprite, public EventListener
*/
int getNumberOfLayers() const;
+ virtual bool drawnWhenBehind() const
+ { return CompoundSprite::drawnWhenBehind(); }
+
/**
* Performs being logic.
*/