From dfefb83dedc4491ace627dc204f841ef8c6d7052 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Apr 2017 23:18:17 +0300 Subject: Add workaround to open npc buy shop if npc invisible. For hercules it lost npc type. --- src/net/npchandler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/npchandler.h') 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, -- cgit v1.2.3-70-g09d2