diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 03:40:55 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 03:40:55 +0000 |
commit | 692826c604ef6329c24e2365c3f760b5f2fb99f9 (patch) | |
tree | 07e3b1515b2a28d12d41b9d83c8c2ce511e8479c /crawl-ref/source/mon-util.cc | |
parent | 82d1156545140d12af47d0267466e34017684e0e (diff) | |
download | crawl-ref-692826c604ef6329c24e2365c3f760b5f2fb99f9.tar.gz crawl-ref-692826c604ef6329c24e2365c3f760b5f2fb99f9.zip |
Add miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5994 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 2386659f0c..79d5709bdf 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -5750,14 +5750,14 @@ void monsters::apply_enchantment(const mon_enchant &me) int dam = (poisonval >= 4) ? 1 : 0; if (coinflip()) - dam += roll_dice( 1, poisonval + 1 ); + dam += roll_dice(1, poisonval + 1); if (mons_res_poison(this) < 0) - dam += roll_dice( 2, poisonval ) - 1; + dam += roll_dice(2, poisonval) - 1; if (dam > 0) { - hurt_monster( this, dam ); + hurt_monster(this, dam); #if DEBUG_DIAGNOSTICS // For debugging, we don't have this silent. @@ -5798,7 +5798,7 @@ void monsters::apply_enchantment(const mon_enchant &me) if (dam > 0) { - hurt_monster( this, dam ); + hurt_monster(this, dam); simple_monster_message(this, " burns!"); #if DEBUG_DIAGNOSTICS |