diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-24 21:37:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-29 16:12:41 +0300 |
commit | 9234bf25b145995d5395f98a1f5dd030783d25d6 (patch) | |
tree | 3f679edc308488057dc5d044698c053de6b4e36c /src/net/tmwa/generalhandler.cpp | |
parent | 2f351b828f4155f93566d685eb99416e32cba7d0 (diff) | |
download | manaplus-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.gz manaplus-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.bz2 manaplus-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.xz manaplus-9234bf25b145995d5395f98a1f5dd030783d25d6.zip |
Add quests netcode and quests window.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 0006d724d..c5ca7b529 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -59,6 +59,7 @@ #include "net/tmwa/protocol.h" #include "net/tmwa/tradehandler.h" #include "net/tmwa/specialhandler.h" +#include "net/tmwa/questhandler.h" #include "net/tmwa/gui/guildtab.h" #include "net/tmwa/gui/partytab.h" @@ -94,7 +95,8 @@ GeneralHandler::GeneralHandler(): mPartyHandler(new PartyHandler), mPlayerHandler(new PlayerHandler), mSpecialHandler(new SpecialHandler), - mTradeHandler(new TradeHandler) + mTradeHandler(new TradeHandler), + mQuestHandler(new QuestHandler) { static const uint16_t _messages[] = { @@ -192,6 +194,7 @@ void GeneralHandler::load() mNetwork->registerHandler(mSpecialHandler.get()); mNetwork->registerHandler(mTradeHandler.get()); mNetwork->registerHandler(mPartyHandler.get()); + mNetwork->registerHandler(mQuestHandler.get()); } void GeneralHandler::reload() |