summaryrefslogtreecommitdiff
path: root/src/monster2.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
commit57bb453a15034c67d04496360b306a5f3bfd0bf2 (patch)
tree091141ca5dbbcd5daa68cc02d2df9926eaadbc35 /src/monster2.cc
parent1bbed63b66c0f69809e698576a51501150f06bba (diff)
Move a_info into GameEditData
Diffstat (limited to 'src/monster2.cc')
-rw-r--r--src/monster2.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/monster2.cc b/src/monster2.cc
index 17b5ab9a..9b82130e 100644
--- a/src/monster2.cc
+++ b/src/monster2.cc
@@ -431,6 +431,7 @@ static cptr funny_comments[MAX_COMMENT] =
void delete_monster_idx(int i)
{
auto &k_info = game->edit_data.k_info;
+ auto &a_info = game->edit_data.a_info;
/* Get location */
monster_type *m_ptr = &m_list[i];
@@ -1890,6 +1891,7 @@ void update_monsters(bool_ full)
void monster_carry(monster_type *m_ptr, int m_idx, object_type *q_ptr)
{
auto &k_info = game->edit_data.k_info;
+ auto &a_info = game->edit_data.a_info;
object_type *o_ptr;