diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
commit | a0c7d1f61783e77e552896824855377e4bb43f8d (patch) | |
tree | e952181b83482abeffbd8ad9c62789b8f72e42e5 /src/game.cpp | |
parent | 9113afb868f6c1da5911437d3ddabdcf169cbec2 (diff) | |
download | Mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.gz Mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.bz2 Mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.xz Mana-a0c7d1f61783e77e552896824855377e4bb43f8d.zip |
Implement TMWServ's NpcHandler
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index c6031eba..4cdada3e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -374,7 +374,11 @@ Game::Game(Network *network): mInventoryHandler(new EAthena::InventoryHandler), #endif mItemHandler(new ItemHandler), - mNpcHandler(new NpcHandler), +#ifdef TMWSERV_SUPPORT + mNpcHandler(new TmwServ::NpcHandler), +#else + mNpcHandler(new EAthena::NpcHandler), +#endif mPlayerHandler(new PlayerHandler), mTradeHandler(new TradeHandler), mLastTarget(Being::UNKNOWN), |