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/spells1.cc | |
parent | 0c2f30b56c221a826ba64f0ec864c29d0f717644 (diff) |
Move f_info into GameEditData
Diffstat (limited to 'src/spells1.cc')
-rw-r--r-- | src/spells1.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spells1.cc b/src/spells1.cc index ed10c525..c11be30b 100644 --- a/src/spells1.cc +++ b/src/spells1.cc @@ -2906,6 +2906,7 @@ static int project_m_y; static bool_ project_f(int who, int r, int y, int x, int dam, int typ) { cave_type *c_ptr = &cave[y][x]; + auto const &f_info = game->edit_data.f_info; bool_ obvious = FALSE; @@ -6913,6 +6914,7 @@ static bool_ project_p(int who, int r, int y, int x, int dam, int typ, int a_rad { auto const &d_info = game->edit_data.d_info; auto const &r_info = game->edit_data.r_info; + auto const &f_info = game->edit_data.f_info; int k = 0, do_move = 0, a = 0, b = 0, x1 = 0, y1 = 0; |