diff options
Diffstat (limited to 'src/npc.h')
-rw-r--r-- | src/npc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,10 @@ class NPC : public Player static bool isTalking; + /** We consider NPCs (at least for now) to be one layer-sprites */ + virtual int getNumberOfLayers() const + { return 1; } + protected: /** * Gets the way a monster blocks pathfinding for other objects |