diff options
Diffstat (limited to 'src/powers.cc')
-rw-r--r-- | src/powers.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/powers.cc b/src/powers.cc index 0c01a0e6..88292e21 100644 --- a/src/powers.cc +++ b/src/powers.cc @@ -17,6 +17,7 @@ #include "feature_flag.hpp" #include "feature_type.hpp" #include "files.hpp" +#include "game.hpp" #include "hooks.hpp" #include "mimic.hpp" #include "monster2.hpp" @@ -129,6 +130,8 @@ static bool_ power_chance(power_type *x_ptr) static void power_activate(int power) { + auto const &f_info = game->edit_data.f_info; + s16b plev = p_ptr->lev; char ch = 0; int amber_power = 0; |