diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-28 23:18:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-28 23:18:17 +0300 |
commit | dfefb83dedc4491ace627dc204f841ef8c6d7052 (patch) | |
tree | 29c1c5becdfb4e0c12a86fcace35f822e0f570fc /src/net/npchandler.h | |
parent | 15919532c723ca0186b0c0c932cd1b90c7d2e570 (diff) | |
download | plus-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.gz plus-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.bz2 plus-dfefb83dedc4491ace627dc204f841ef8c6d7052.tar.xz plus-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.h | 2 |
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, |