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 | 57bb453a15034c67d04496360b306a5f3bfd0bf2 (patch) | |
tree | 091141ca5dbbcd5daa68cc02d2df9926eaadbc35 /src/q_one.cc | |
parent | 1bbed63b66c0f69809e698576a51501150f06bba (diff) |
Move a_info into GameEditData
Diffstat (limited to 'src/q_one.cc')
-rw-r--r-- | src/q_one.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/q_one.cc b/src/q_one.cc index 0c2753a0..e982501c 100644 --- a/src/q_one.cc +++ b/src/q_one.cc @@ -3,6 +3,7 @@ #include "artifact_type.hpp" #include "cave.hpp" #include "cave_type.hpp" +#include "game.hpp" #include "gods.hpp" #include "hook_calculate_hp_in.hpp" #include "hook_calculate_hp_out.hpp" @@ -232,6 +233,8 @@ static bool_ quest_one_identify_hook(void *, void *in_, void *) static bool_ quest_one_death_hook(void *, void *in_, void *) { + auto const &a_info = game->edit_data.a_info; + struct hook_monster_death_in *in = static_cast<struct hook_monster_death_in *>(in_); s32b m_idx = in->m_idx; s32b r_idx = m_list[m_idx].r_idx; |