summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 23:07:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 23:07:42 +0300
commit1192016bf685cdba9bee4b6578e578661f689803 (patch)
tree460a2cd9124b6abaa3ebb008877c024a445dc40b /src/net/tmwa
parent5002605f456d3b6c9656ca40cb86f48369e583f8 (diff)
downloadmanaverse-1192016bf685cdba9bee4b6578e578661f689803.tar.gz
manaverse-1192016bf685cdba9bee4b6578e578661f689803.tar.bz2
manaverse-1192016bf685cdba9bee4b6578e578661f689803.tar.xz
manaverse-1192016bf685cdba9bee4b6578e578661f689803.zip
eathena: add packet CMSG_NPC_SELECT_AUTO_SPELL 0x01ce.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/npchandler.cpp4
-rw-r--r--src/net/tmwa/npchandler.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index e5815890a..ec5da280a 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -235,6 +235,10 @@ void NpcHandler::selectArrow(const int nameId A_UNUSED) const
{
}
+void NpcHandler::selectAutoSpell(const int skillId A_UNUSED) const
+{
+}
+
int NpcHandler::getNpc(Net::MessageIn &msg)
{
if (msg.getId() == SMSG_NPC_CHOICE
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h
index 34a8f18c2..d73e9c71d 100644
--- a/src/net/tmwa/npchandler.h
+++ b/src/net/tmwa/npchandler.h
@@ -88,6 +88,8 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler
void identify(const int index) const override final;
void selectArrow(const int nameId) const override final;
+
+ void selectAutoSpell(const int skillId) const override final;
};
} // namespace TmwAthena