summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-16 18:20:22 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-16 18:20:22 +0000
commit65ad20dff06c085e329e627ddeebe8a1deca6d04 (patch)
tree8f8328534f6ad696bc01d91d77b63a566340ee02 /crawl-ref/source/fight.cc
parent96c41a695406df7d8bfcb3325447591ca9edba32 (diff)
downloadcrawl-ref-65ad20dff06c085e329e627ddeebe8a1deca6d04.tar.gz
crawl-ref-65ad20dff06c085e329e627ddeebe8a1deca6d04.zip
Add a few more poison-related cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7449 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 48a8b22f41..cf3174a320 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -3594,9 +3594,9 @@ void melee_attack::mons_apply_attack_flavour(const mon_attack_def &attk)
res = defender->res_poison();
if (res <= 0)
{
- defender->poison( attacker, roll_dice(1,3) );
+ defender->poison(attacker, roll_dice(1, 3));
if (one_chance_in(4))
- defender->drain_stat( STAT_STRENGTH, 1, attacker );
+ defender->drain_stat(STAT_STRENGTH, 1, attacker);
}
break;