summaryrefslogtreecommitdiff
path: root/src/monster2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-25 13:48:04 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:41 +0200
commit3f0417be80c0cd9bae1d2aa9a81bc0bcc9ef4841 (patch)
tree24f35798388c200ac15f38414835cd0e0e53fc40 /src/monster2.c
parentd777849861081855a9fdc3a6c71ef9510884190e (diff)
Remove monster_mind
Diffstat (limited to 'src/monster2.c')
-rw-r--r--src/monster2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/monster2.c b/src/monster2.c
index 4c4df91d..9d79f73a 100644
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -495,8 +495,6 @@ void delete_monster_idx(int i)
/* Delete mind & special race if needed */
if (m_ptr->sr_ptr)
KILL(m_ptr->sr_ptr, monster_race);
- if (m_ptr->mind)
- KILL(m_ptr->mind, monster_mind);
/* Wipe the Monster */
m_ptr = WIPE(m_ptr, monster_type);
@@ -619,8 +617,6 @@ static void compact_monsters_aux(int i1, int i2)
/* Delete mind & special race if needed */
if (m_list[i1].sr_ptr)
KILL(m_list[i1].sr_ptr, monster_race);
- if (m_list[i1].mind)
- KILL(m_list[i1].mind, monster_mind);
/* Wipe the hole */
m_ptr = WIPE(&m_list[i1], monster_type);
@@ -743,8 +739,6 @@ void wipe_m_list(void)
/* Delete mind & special race if needed */
if (m_ptr->sr_ptr)
KILL(m_ptr->sr_ptr, monster_race);
- if (m_ptr->mind)
- KILL(m_ptr->mind, monster_mind);
/* Wipe the Monster */
@@ -2360,7 +2354,6 @@ s16b place_monster_one(int y, int x, int r_idx, int ego, bool_ slp, int status)
/* No special, no mind */
m_ptr->sr_ptr = place_monster_one_race;
- m_ptr->mind = NULL;
/* Place the monster at the location */
m_ptr->fy = y;