diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
commit | c0f674098878b171ace1b0cf884507a611b21de2 (patch) | |
tree | 2a30487f384c3358e5e2f7e623def94b1d031a94 /src/net/tmwserv/itemhandler.cpp | |
parent | ff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff) | |
download | mana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.gz mana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.bz2 mana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.xz mana-client-c0f674098878b171ace1b0cf884507a611b21de2.zip |
Put the remaining unnamespaced handlers in a namespace
Also fixed some initialization order warnings when compiling with
tmwserv support and made two getters const.
Diffstat (limited to 'src/net/tmwserv/itemhandler.cpp')
-rw-r--r-- | src/net/tmwserv/itemhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwserv/itemhandler.cpp b/src/net/tmwserv/itemhandler.cpp index 4ed61266..423ce192 100644 --- a/src/net/tmwserv/itemhandler.cpp +++ b/src/net/tmwserv/itemhandler.cpp @@ -28,6 +28,8 @@ #include "engine.h" #include "flooritemmanager.h" +namespace TmwServ { + ItemHandler::ItemHandler() { static const Uint16 _messages[] = { @@ -64,3 +66,5 @@ void ItemHandler::handleMessage(MessageIn &msg) } break; } } + +} // namespace TmwServ |