summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-05 23:18:50 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-05 23:19:21 +0200
commit96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe (patch)
tree049c627092239266e3c8443375b5116cc06a207d /src/game.cpp
parentc5afd22e3d7066837e8dd812d60cf8ce5ca0f2b2 (diff)
downloadmana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.gz
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.bz2
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.xz
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.zip
Fixed compile warnings
Initialization order, return values, unused variables, missing enumerator.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index ca436409..2f66b86f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -359,17 +359,17 @@ Game::Game():
#else
Game::Game(Network *network):
mNetwork(network),
- mAdminHandler(new AdminHandler),
mBeingHandler(new BeingHandler(config.getValue("EnableSync", 0) == 1)),
+ mAdminHandler(new AdminHandler),
mEquipmentHandler(new EquipmentHandler),
mSkillHandler(new SkillHandler),
- mNpcHandler(new NpcHandler),
#endif
mPartyHandler(new PartyHandler),
mBuySellHandler(new BuySellHandler),
mChatHandler(new ChatHandler),
mInventoryHandler(new InventoryHandler),
mItemHandler(new ItemHandler),
+ mNpcHandler(new NpcHandler),
mPlayerHandler(new PlayerHandler),
mTradeHandler(new TradeHandler),
mLastTarget(Being::UNKNOWN),