summaryrefslogtreecommitdiff
path: root/src/npc.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-18 06:57:16 +0000
committerJared Adams <jaxad0127@gmail.com>2009-02-18 06:57:16 +0000
commit9568a305878d0c035e027c1ed6c9a24147a0adea (patch)
treeca6f2d1d61114f11057938c654ec004042412f1f /src/npc.h
parenta0edd2e04b263faa13f6fbfbb81dd7c64520e584 (diff)
downloadmana-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/npc.h b/src/npc.h
index dd8d7f5d..81b6d51e 100644
--- a/src/npc.h
+++ b/src/npc.h
@@ -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();