diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:49:38 +0200 |
commit | b9fca0267b1d6a32d57e1fb4387f52c19d1c3fa6 (patch) | |
tree | d8c7c6c1df4b2ead1ca4cf200b771245bcd7d3ca /src/spells3.cc | |
parent | 0c2f30b56c221a826ba64f0ec864c29d0f717644 (diff) |
Move f_info into GameEditData
Diffstat (limited to 'src/spells3.cc')
-rw-r--r-- | src/spells3.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spells3.cc b/src/spells3.cc index 68b3a2f0..276cfeec 100644 --- a/src/spells3.cc +++ b/src/spells3.cc @@ -5,6 +5,7 @@ #include "cmd5.hpp" #include "feature_flag.hpp" #include "feature_type.hpp" +#include "game.hpp" #include "lua_bind.hpp" #include "mimic.hpp" #include "monster2.hpp" @@ -2726,6 +2727,8 @@ const char *mind_stun_info() casting_result tempo_magelock() { + auto const &f_info = game->edit_data.f_info; + if (get_level_s(MAGELOCK, 50) >= 30) { int x,y; |