summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 23:22:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:56 +0300
commitf32c27a3446fc8312a7fd4f9a85b60720549582a (patch)
treecfd00cc5642ef897aba98bf9f6b1a53d02ddc825 /src/net/eathena/generalhandler.cpp
parentb06871fcb8e0b678a7fdbc2a10b22283b2899d1c (diff)
downloadmanaverse-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.gz
manaverse-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.bz2
manaverse-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.xz
manaverse-f32c27a3446fc8312a7fd4f9a85b60720549582a.zip
eathena: add basic handling for packet SMSG_QUEST_ADD 0x02b3.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index dcc4bc15c..5a18b15f9 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -56,6 +56,7 @@
#include "net/eathena/protocol.h"
#include "net/eathena/tradehandler.h"
#include "net/eathena/skillhandler.h"
+#include "net/eathena/questhandler.h"
#include "resources/db/itemdbstat.h"
@@ -88,7 +89,8 @@ GeneralHandler::GeneralHandler() :
mPartyHandler(new PartyHandler),
mPlayerHandler(new PlayerHandler),
mSkillHandler(new SkillHandler),
- mTradeHandler(new TradeHandler)
+ mTradeHandler(new TradeHandler),
+ mQuestHandler(new QuestHandler)
{
static const uint16_t _messages[] =
{
@@ -184,6 +186,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mSkillHandler.get());
mNetwork->registerHandler(mTradeHandler.get());
mNetwork->registerHandler(mPartyHandler.get());
+ mNetwork->registerHandler(mQuestHandler.get());
}
void GeneralHandler::reload()