summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-25 01:11:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-25 01:11:36 +0300
commite31bec39543cf616daac1be9b0d700a72a46b648 (patch)
tree89ab3955af6fcfaaddf9d71a158a2896534fe56a /src/net/tmwa/generalhandler.cpp
parentdaa6841b2d2d2d4de530ffe01123fa62c1336e73 (diff)
downloadplus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.gz
plus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.bz2
plus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.xz
plus-e31bec39543cf616daac1be9b0d700a72a46b648.zip
add pethandler with stubs only.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 725393790..c185122d2 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -48,6 +48,7 @@
#include "net/tmwa/network.h"
#include "net/tmwa/npchandler.h"
#include "net/tmwa/partyhandler.h"
+#include "net/tmwa/pethandler.h"
#include "net/tmwa/playerhandler.h"
#include "net/tmwa/protocol.h"
#include "net/tmwa/tradehandler.h"
@@ -80,6 +81,7 @@ GeneralHandler::GeneralHandler() :
mLoginHandler(new LoginHandler),
mNpcHandler(new NpcHandler),
mPartyHandler(new PartyHandler),
+ mPetHandler(new PetHandler),
mPlayerHandler(new PlayerHandler),
mSkillHandler(new SkillHandler),
mTradeHandler(new TradeHandler),
@@ -195,6 +197,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mSkillHandler.get());
mNetwork->registerHandler(mTradeHandler.get());
mNetwork->registerHandler(mPartyHandler.get());
+ mNetwork->registerHandler(mPetHandler.get());
mNetwork->registerHandler(mQuestHandler.get());
}