summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 5ef65d1f6..040b191a9 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -36,6 +36,7 @@
#include "localconsts.h"
+class Being;
class NpcDialog;
class ShopItem;
@@ -58,7 +59,7 @@ class NpcHandler notfinal
virtual BeingId getNpc(Net::MessageIn &msg,
const NpcActionT action) = 0;
- virtual void talk(const BeingId npcId) const = 0;
+ virtual void talk(const Being *const being) const = 0;
virtual void nextDialog(const BeingId npcId) const = 0;
@@ -73,7 +74,7 @@ class NpcHandler notfinal
virtual void stringInput(const BeingId npcId,
const std::string &value) const = 0;
- virtual void buy(const BeingId beingId) const = 0;
+ virtual void buy(const Being *const being) const = 0;
virtual void sell(const BeingId beingId) const = 0;