diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-14 15:35:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-14 15:35:23 +0300 |
commit | f201143f1896adc0b94cd62b5f28b9b7bfe5fb39 (patch) | |
tree | e081e55986a245dd5b3ae134147a5f4c1c1b07be /src/net/tmwa/generalhandler.cpp | |
parent | 4cfe79cad811756d59ee5dcf12f4382a88791c3a (diff) | |
download | mv-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.gz mv-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.bz2 mv-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.xz mv-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.zip |
Add empty elementalhandler.
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 9fcdeed15..3129406ba 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -47,6 +47,7 @@ #include "net/tmwa/cashshophandler.h" #include "net/tmwa/chathandler.h" #include "net/tmwa/charserverhandler.h" +#include "net/tmwa/elementalhandler.h" #include "net/tmwa/familyhandler.h" #include "net/tmwa/friendshandler.h" #include "net/tmwa/gamehandler.h" @@ -111,7 +112,8 @@ GeneralHandler::GeneralHandler() : mMercenaryHandler(new MercenaryHandler), mBuyingStoreHandler(new BuyingStoreHandler), mHomunculusHandler(new HomunculusHandler), - mFriendsHandler(new FriendsHandler) + mFriendsHandler(new FriendsHandler), + mElementalHandler(new ElementalHandler) { static const uint16_t _messages[] = { @@ -234,6 +236,7 @@ void GeneralHandler::load() mNetwork->registerHandler(mBuyingStoreHandler); mNetwork->registerHandler(mHomunculusHandler); mNetwork->registerHandler(mFriendsHandler); + mNetwork->registerHandler(mElementalHandler); } void GeneralHandler::reload() |