diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-05 23:18:50 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-05 23:19:21 +0200 |
commit | 96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe (patch) | |
tree | 049c627092239266e3c8443375b5116cc06a207d /src/game.cpp | |
parent | c5afd22e3d7066837e8dd812d60cf8ce5ca0f2b2 (diff) | |
download | mana-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.cpp | 4 |
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), |