summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.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-stmt.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-stmt.cpp')
-rw-r--r--src/map/magic-stmt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic-stmt.cpp b/src/map/magic-stmt.cpp
index f8f3b03..28bcbe8 100644
--- a/src/map/magic-stmt.cpp
+++ b/src/map/magic-stmt.cpp
@@ -50,6 +50,8 @@
namespace tmwa
{
+namespace magic
+{
/* used for local spell effects */
constexpr Species INVISIBLE_NPC = wrap<Species>(127);
@@ -1643,4 +1645,5 @@ int spell_attack(BlockId caster_id, BlockId target_id)
return 1;
}
+} // namespace magic
} // namespace tmwa