summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc3
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;