diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-01 14:13:11 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-01 14:13:11 -0600 |
commit | b987a2806dbcd87a23850901f6f0b86f0801086c (patch) | |
tree | e373f4869436f830c2cdeeeaf34a941560ded3fe /src/main.cpp | |
parent | 6ef22b50f3d0c2410af5bd2543bedc0b3d692f83 (diff) | |
download | mana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.gz mana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.bz2 mana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.xz mana-b987a2806dbcd87a23850901f6f0b86f0801086c.zip |
Create a few more handlers for eAthena
Map, chat, and admin have been finished (to the degree they handle all
existing cases).
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 37ef00a2..05518e19 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -71,7 +71,7 @@ #include "net/ea/charserverhandler.h" #include "net/ea/loginhandler.h" #include "net/ea/network.h" -#include "net/ea/maploginhandler.h" +#include "net/ea/maphandler.h" #include "net/messageout.h" #endif @@ -187,7 +187,6 @@ std::string updatesDir; #ifdef EATHENA_SUPPORT LoginHandler loginHandler; -MapLoginHandler mapLoginHandler; #endif SDL_Surface *icon; @@ -828,7 +827,8 @@ static void mapLogin(Network *network, LoginData *loginData) logger->log("Map: %s", map_path.c_str()); network->connect(loginData->hostname, loginData->port); - network->registerHandler(&mapLoginHandler); + //network->registerHandler(mapHandler); + network->registerHandler(new MapHandler); // Send login infos MessageOut outMsg(0x0072); |