diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-11-02 12:43:49 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-11-02 12:43:49 +0000 |
commit | 5f0ebee0d4d75fa91d417f4f352abdbc7502c2f0 (patch) | |
tree | b030f9ff00fceb9f90fab2c9fd56bdc16cd4126c /src/game.cpp | |
parent | fa035c2fd70945a0b12143ce9b81284d8d24d13b (diff) | |
download | mana-5f0ebee0d4d75fa91d417f4f352abdbc7502c2f0.tar.gz mana-5f0ebee0d4d75fa91d417f4f352abdbc7502c2f0.tar.bz2 mana-5f0ebee0d4d75fa91d417f4f352abdbc7502c2f0.tar.xz mana-5f0ebee0d4d75fa91d417f4f352abdbc7502c2f0.zip |
Network layer refactoring.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/game.cpp b/src/game.cpp index 5e4c24c2..2abd9e26 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -292,16 +292,16 @@ Game::Game(): joystick = new Joystick(0); } - Network::registerHandler(mBeingHandler.get()); - Network::registerHandler(mBuySellHandler.get()); - Network::registerHandler(mChatHandler.get()); - Network::registerHandler(mEquipmentHandler.get()); - Network::registerHandler(mInventoryHandler.get()); - Network::registerHandler(mItemHandler.get()); - Network::registerHandler(mNpcHandler.get()); - Network::registerHandler(mPlayerHandler.get()); - Network::registerHandler(mSkillHandler.get()); - Network::registerHandler(mTradeHandler.get()); + Net::registerHandler(mBeingHandler.get()); + Net::registerHandler(mBuySellHandler.get()); + Net::registerHandler(mChatHandler.get()); + Net::registerHandler(mEquipmentHandler.get()); + Net::registerHandler(mInventoryHandler.get()); + Net::registerHandler(mItemHandler.get()); + Net::registerHandler(mNpcHandler.get()); + Net::registerHandler(mPlayerHandler.get()); + Net::registerHandler(mSkillHandler.get()); + Net::registerHandler(mTradeHandler.get()); } Game::~Game() @@ -403,7 +403,7 @@ void Game::logic() } // Handle network stuff - Network::flush(); + Net::flush(); } } |