summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 14:48:57 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 14:48:57 +0000
commit31d689b8a618f671f7ef6bf3e3270d471853c26f (patch)
tree92f2d171571d7e9c9548f67713983c56cf15374f /crawl-ref/source/monstuff.cc
parent813bc92e90744f4deaa16d37abb6d0806c937be3 (diff)
downloadcrawl-ref-31d689b8a618f671f7ef6bf3e3270d471853c26f.tar.gz
crawl-ref-31d689b8a618f671f7ef6bf3e3270d471853c26f.zip
Outsource more speech:
* Beogh's rants on destroying one of his idols * orcs converting to you * holy beings becoming neutral git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3745 c06c8d41-db1a-0410-9941-cceddc491573
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)
{