summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-25 00:02:22 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-25 00:02:22 -0500
commit4b6eba016a3f7edd8513d032b2b78fe281148c80 (patch)
treeb2eab409a28c73b13787b32aee466086290c2c3e /crawl-ref/source/fight.cc
parentc5811dc9575f38379451e5eac83cc0cbb0ec81a3 (diff)
downloadcrawl-ref-4b6eba016a3f7edd8513d032b2b78fe281148c80.tar.gz
crawl-ref-4b6eba016a3f7edd8513d032b2b78fe281148c80.zip
Simplify.
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 4bb268ee4a..0e09506670 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -4448,7 +4448,7 @@ void melee_attack::mons_do_poison(const mon_attack_def &attk)
void melee_attack::mons_do_napalm()
{
- if (defender->res_sticky_flame() > 0)
+ if (defender->res_sticky_flame())
return;
if (one_chance_in(20) || (damage_done > 2 && one_chance_in(3)))