diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-25 01:11:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-25 01:11:36 +0300 |
commit | e31bec39543cf616daac1be9b0d700a72a46b648 (patch) | |
tree | 89ab3955af6fcfaaddf9d71a158a2896534fe56a /src/net/tmwa/generalhandler.cpp | |
parent | daa6841b2d2d2d4de530ffe01123fa62c1336e73 (diff) | |
download | manaplus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.gz manaplus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.bz2 manaplus-e31bec39543cf616daac1be9b0d700a72a46b648.tar.xz manaplus-e31bec39543cf616daac1be9b0d700a72a46b648.zip |
add pethandler with stubs only.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 3 |
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()); } |