diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-18 06:57:16 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-18 06:57:16 +0000 |
commit | 9568a305878d0c035e027c1ed6c9a24147a0adea (patch) | |
tree | ca6f2d1d61114f11057938c654ec004042412f1f /src/npc.h | |
parent | a0edd2e04b263faa13f6fbfbb81dd7c64520e584 (diff) | |
download | mana-9568a305878d0c035e027c1ed6c9a24147a0adea.tar.gz mana-9568a305878d0c035e027c1ed6c9a24147a0adea.tar.bz2 mana-9568a305878d0c035e027c1ed6c9a24147a0adea.tar.xz mana-9568a305878d0c035e027c1ed6c9a24147a0adea.zip |
Centralize current_npc cleanup
Diffstat (limited to 'src/npc.h')
-rw-r--r-- | src/npc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -50,6 +50,11 @@ class NPC : public Player void buy(); void sell(); + /** + * Call this to ease clean up of the current NPC, without causing + * interface problems + */ + void handleDeath(); protected: Network *mNetwork; void updateCoords(); |