summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-14 15:35:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-14 15:35:23 +0300
commitf201143f1896adc0b94cd62b5f28b9b7bfe5fb39 (patch)
treee081e55986a245dd5b3ae134147a5f4c1c1b07be /src/net/eathena/generalhandler.cpp
parent4cfe79cad811756d59ee5dcf12f4382a88791c3a (diff)
downloadplus-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.gz
plus-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.bz2
plus-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.tar.xz
plus-f201143f1896adc0b94cd62b5f28b9b7bfe5fb39.zip
Add empty elementalhandler.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 04755c478..c5730556a 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -47,6 +47,7 @@
#include "net/eathena/cashshophandler.h"
#include "net/eathena/chathandler.h"
#include "net/eathena/charserverhandler.h"
+#include "net/eathena/elementalhandler.h"
#include "net/eathena/familyhandler.h"
#include "net/eathena/friendshandler.h"
#include "net/eathena/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[] =
{
@@ -285,6 +287,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mBuyingStoreHandler);
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mFriendsHandler);
+ mNetwork->registerHandler(mElementalHandler);
}
void GeneralHandler::reload()