diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-22 21:44:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-22 21:44:22 +0300 |
commit | ab3b909187ee0a18946bff50a6bd3e8e281970f1 (patch) | |
tree | 070f99fa55315de2a4e688e5ff0397e395681d28 /src/net/npchandler.h | |
parent | d27c8b53bcd8c7e8e0aa74656e32aeb688629b4b (diff) | |
download | plus-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.gz plus-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.bz2 plus-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.xz plus-ab3b909187ee0a18946bff50a6bd3e8e281970f1.zip |
Remove checking packet id in getNpc function.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r-- | src/net/npchandler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h index 29ecc5632..bad291fc8 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -27,6 +27,8 @@ #include "enums/being/cookingtype.h" +#include "enums/net/npcaction.h" + #include "enums/simpletypes/beingid.h" #include "enums/simpletypes/itemcolor.h" @@ -43,7 +45,8 @@ class NpcHandler notfinal virtual ~NpcHandler() { } - virtual BeingId getNpc(Net::MessageIn &msg) = 0; + virtual BeingId getNpc(Net::MessageIn &msg, + const NpcAction action) = 0; virtual void talk(const BeingId npcId) const = 0; |