summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 450e82d0bb..2ea6e4d33c 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -505,7 +505,7 @@ static bool monster_avoided_death(monsters *monster, killer_type killer, int i)
// Bias beaten-up-conversion towards the stronger orcs.
&& random2(monster->hit_dice) > 2)
{
- beogh_convert_orc(monster, true);
+ beogh_convert_orc(monster, true, MON_KILL(killer));
return (true);
}
}
@@ -6269,13 +6269,13 @@ bool message_current_target()
}
return (false);
-} // end message_current_target()
+}
// aaah, the simple joys of pointer arithmetic! {dlb}:
unsigned int monster_index(const monsters *monster)
{
return (monster - menv.buffer());
-} // end monster_index()
+}
int hurt_monster(monsters * victim, int damage_dealt)
{