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/powers.cc | |
parent | 0c2f30b56c221a826ba64f0ec864c29d0f717644 (diff) |
Move f_info into GameEditData
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; |