summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-14 16:52:59 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-14 16:52:59 +0000
commit993b43e87e2d53e8ae8ea31c43f04a19613a6d09 (patch)
treeb1edd65e3c1150314160708b4a52141ae95134d7 /src/game.cpp
parente91747e5025d5e37b2b856e30d6fb5da6968364c (diff)
downloadmana-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.gz
mana-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.bz2
mana-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.xz
mana-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.zip
Added admin commands to /help and added registration of party handler
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index dcc2ba0a..f0209b73 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -81,6 +81,7 @@
#include "net/itemhandler.h"
#include "net/network.h"
#include "net/npchandler.h"
+#include "net/partyhandler.h"
#include "net/playerhandler.h"
#include "net/tradehandler.h"
@@ -269,6 +270,7 @@ Game::Game():
mInventoryHandler(new InventoryHandler()),
mItemHandler(new ItemHandler()),
mNpcHandler(new NPCHandler()),
+ mPartyHandler(new PartyHandler()),
mPlayerHandler(new PlayerHandler()),
mTradeHandler(new TradeHandler()),
mLogicCounterId(0), mSecondsCounterId(0)
@@ -313,6 +315,7 @@ Game::Game():
Net::registerHandler(mInventoryHandler.get());
Net::registerHandler(mItemHandler.get());
Net::registerHandler(mNpcHandler.get());
+ Net::registerHandler(mPartyHandler.get());
Net::registerHandler(mPlayerHandler.get());
Net::registerHandler(mTradeHandler.get());
}