From b987a2806dbcd87a23850901f6f0b86f0801086c Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 1 Apr 2009 14:13:11 -0600 Subject: Create a few more handlers for eAthena Map, chat, and admin have been finished (to the degree they handle all existing cases). --- src/engine.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/engine.cpp') diff --git a/src/engine.cpp b/src/engine.cpp index 04d06e38..faa6a452 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -33,6 +33,11 @@ #include "gui/minimap.h" #include "gui/viewport.h" +#include "net/net.h" +#ifdef EATHENA_SUPPORT +#include "net/ea/maphandler.h" +#endif + #include "resources/mapreader.h" #include "resources/monsterdb.h" #include "resources/resourcemanager.h" @@ -134,6 +139,10 @@ bool Engine::changeMap(const std::string &mapPath) mCurrentMap = newMap; + // Net::getMapHandler()->mapLoaded(mapPath); +#ifdef EATHENA_SUPPORT + mapHandler->mapLoaded(mapPath); +#endif return true; } -- cgit v1.2.3-70-g09d2