summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-08 00:53:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-08 00:53:50 +0300
commitb165b310ed35a078d6b3b479a4810bce884da1c2 (patch)
tree2dd5448157e59c09a8af37c27203ad621f4d0a8b /src/net/eathena/generalhandler.cpp
parent08c3c35325813bf897686464dfffeaa0d339f3f7 (diff)
downloadmv-b165b310ed35a078d6b3b479a4810bce884da1c2.tar.gz
mv-b165b310ed35a078d6b3b479a4810bce884da1c2.tar.bz2
mv-b165b310ed35a078d6b3b479a4810bce884da1c2.tar.xz
mv-b165b310ed35a078d6b3b479a4810bce884da1c2.zip
eathena: add pethandler.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 0a838c248..fb248c80c 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -52,6 +52,7 @@
#include "net/eathena/network.h"
#include "net/eathena/npchandler.h"
#include "net/eathena/partyhandler.h"
+#include "net/eathena/pethandler.h"
#include "net/eathena/playerhandler.h"
#include "net/eathena/protocol.h"
#include "net/eathena/serverfeatures.h"
@@ -88,6 +89,7 @@ GeneralHandler::GeneralHandler() :
mLoginHandler(new LoginHandler),
mNpcHandler(new NpcHandler),
mPartyHandler(new PartyHandler),
+ mPetHandler(new PetHandler),
mPlayerHandler(new PlayerHandler),
mSkillHandler(new SkillHandler),
mTradeHandler(new TradeHandler),
@@ -188,6 +190,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mSkillHandler.get());
mNetwork->registerHandler(mTradeHandler.get());
mNetwork->registerHandler(mPartyHandler.get());
+ mNetwork->registerHandler(mPetHandler.get());
mNetwork->registerHandler(mQuestHandler.get());
}