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/net/ea/playerhandler.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/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index cb3ed089..f0876a6e 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -199,8 +199,7 @@ void PlayerHandler::handleMessage(MessageIn &msg) // Switch the actual map, deleting the previous one if necessary mapPath = mapPath.substr(0, mapPath.rfind(".")); - if (engine->changeMap(mapPath)) - MessageOut outMsg(CMSG_MAP_LOADED); + engine->changeMap(mapPath); float scrollOffsetX = 0.0f; float scrollOffsetY = 0.0f; |