summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-23 01:53:31 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-23 01:53:31 +0000
commit5e60d79907781f29d3afafdb641dfd00daf0c084 (patch)
tree9694ccc781314b4733c3ac1fc041ba47dff8a2e9 /crawl-ref/source/beam.cc
parenteb3c29aae74e4b4a3467baa1b7f83fa788a6d39c (diff)
downloadcrawl-ref-5e60d79907781f29d3afafdb641dfd00daf0c084.tar.gz
crawl-ref-5e60d79907781f29d3afafdb641dfd00daf0c084.zip
Add one more sticky flame comsistency fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7543 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index ebac83d785..b4acf98250 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -4450,7 +4450,7 @@ static int _affect_monster(bolt &beam, monsters *mon, item_def *item)
// Sticky flame.
if (beam.name == "sticky flame")
{
- int levels = std::min(4, 1 + random2(hurt_final) / 2);
+ int levels = std::min(4, 1 + random2(mon->hit_dice) / 2);
napalm_monster(mon, _whose_kill(beam), levels);
}