diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
commit | bcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch) | |
tree | 2e095ec94e99e788eb851a37cdf5eae68270424c /src/engine.cpp | |
parent | 9078373860729cdf80db8d09cbdee478dc54ec64 (diff) | |
download | mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2 mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip |
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index faa6a452..7ad2fa38 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -33,10 +33,8 @@ #include "gui/minimap.h" #include "gui/viewport.h" +#include "net/maphandler.h" #include "net/net.h" -#ifdef EATHENA_SUPPORT -#include "net/ea/maphandler.h" -#endif #include "resources/mapreader.h" #include "resources/monsterdb.h" @@ -139,10 +137,7 @@ bool Engine::changeMap(const std::string &mapPath) mCurrentMap = newMap; - // Net::getMapHandler()->mapLoaded(mapPath); -#ifdef EATHENA_SUPPORT - mapHandler->mapLoaded(mapPath); -#endif + Net::getMapHandler()->mapLoaded(mapPath); return true; } |