summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
commitbcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch)
tree2e095ec94e99e788eb851a37cdf5eae68270424c /src/engine.cpp
parent9078373860729cdf80db8d09cbdee478dc54ec64 (diff)
downloadmana-client-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz
mana-client-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2
mana-client-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz
mana-client-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp9
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;
}