summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/effecthandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
commitc0f674098878b171ace1b0cf884507a611b21de2 (patch)
tree2a30487f384c3358e5e2f7e623def94b1d031a94 /src/net/tmwserv/effecthandler.cpp
parentff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff)
downloadmana-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/effecthandler.cpp')
-rw-r--r--src/net/tmwserv/effecthandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwserv/effecthandler.cpp b/src/net/tmwserv/effecthandler.cpp
index 787a7a68..34da9c7d 100644
--- a/src/net/tmwserv/effecthandler.cpp
+++ b/src/net/tmwserv/effecthandler.cpp
@@ -27,6 +27,7 @@
#include "effectmanager.h"
+namespace TmwServ {
EffectHandler::EffectHandler()
{
@@ -56,3 +57,5 @@ void EffectHandler::handleCreateEffects(MessageIn &msg)
Uint16 y = msg.readInt16();
effectManager->trigger(id, x, y);
}
+
+} // namespace TmwServ