summaryrefslogtreecommitdiff
path: root/src/map/magic.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-23 18:37:53 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-05 15:59:36 -0700
commit9d7fd8b37f97265f37cc12026e535e953942a1ab (patch)
tree709218889e6977f9aeb1b47e9ce42d0e48b88007 /src/map/magic.cpp
parent44ba9a9eebec2ffe202fc5594f76864a56f3730a (diff)
downloadtmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.gz
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.bz2
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.xz
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.zip
Move magic to its own namespace
Diffstat (limited to 'src/map/magic.cpp')
-rw-r--r--src/map/magic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic.cpp b/src/map/magic.cpp
index b899a5e..bc46f86 100644
--- a/src/map/magic.cpp
+++ b/src/map/magic.cpp
@@ -40,6 +40,8 @@
namespace tmwa
{
+namespace magic
+{
#undef DEBUG
/// Return a pair of strings, {spellname, parameter}
@@ -127,4 +129,5 @@ int magic_message(dumb_ptr<map_session_data> caster, XString source_invocation)
return 0; /* Not a spell */
}
+} // namespace magic
} // namespace tmwa