summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-28 23:18:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-28 23:18:17 +0300
commitdfefb83dedc4491ace627dc204f841ef8c6d7052 (patch)
tree29c1c5becdfb4e0c12a86fcace35f822e0f570fc /src/net/npchandler.h
parent15919532c723ca0186b0c0c932cd1b90c7d2e570 (diff)
downloadmanaverse-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.gz
manaverse-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.bz2
manaverse-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.xz
manaverse-dfefb83dedc4491ace627dc204f841ef8c6d7052.zip
Add workaround to open npc buy shop if npc invisible.
For hercules it lost npc type.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 040b191a9..af92eb0b1 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -76,6 +76,8 @@ class NpcHandler notfinal
virtual void buy(const Being *const being) const = 0;
+ virtual void buy(const BeingId beingId) const = 0;
+
virtual void sell(const BeingId beingId) const = 0;
virtual void buyItem(const BeingId beingId,