summaryrefslogtreecommitdiff
path: root/src/xtra2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:49:38 +0200
commitb9fca0267b1d6a32d57e1fb4387f52c19d1c3fa6 (patch)
treed8c7c6c1df4b2ead1ca4cf200b771245bcd7d3ca /src/xtra2.cc
parent0c2f30b56c221a826ba64f0ec864c29d0f717644 (diff)
Move f_info into GameEditData
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r--src/xtra2.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 482526ef..af25e906 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -2403,6 +2403,7 @@ static void monster_death_gods(int m_idx, monster_type *m_ptr)
void monster_death(int m_idx)
{
auto const &d_info = game->edit_data.d_info;
+ auto const &f_info = game->edit_data.f_info;
monster_type *m_ptr = &m_list[m_idx];
@@ -3737,6 +3738,7 @@ static s16b target_pick(point p, int dy, int dx, std::vector<point> const &point
static bool_ target_set_accept(int y, int x)
{
auto const &r_info = game->edit_data.r_info;
+ auto const &f_info = game->edit_data.f_info;
/* Player grid is always interesting */
if ((y == p_ptr->py) && (x == p_ptr->px)) return (TRUE);
@@ -3897,6 +3899,7 @@ static int target_set_aux(int y, int x, int mode, cptr info)
auto const &d_info = game->edit_data.d_info;
auto const &st_info = game->edit_data.st_info;
auto const &wf_info = game->edit_data.wf_info;
+ auto const &f_info = game->edit_data.f_info;
cave_type *c_ptr = &cave[y][x];