summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.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/player.cc
parentc5811dc9575f38379451e5eac83cc0cbb0ec81a3 (diff)
downloadcrawl-ref-4b6eba016a3f7edd8513d032b2b78fe281148c80.tar.gz
crawl-ref-4b6eba016a3f7edd8513d032b2b78fe281148c80.zip
Simplify.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index b89848114c..58101f895b 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5406,7 +5406,7 @@ bool curare_hits_player(int death_source, int amount)
int hurted = 0;
- if (player_res_asphyx() > 0)
+ if (player_res_asphyx())
{
hurted = roll_dice(2, 6);
@@ -5508,7 +5508,7 @@ bool napalm_player(int amount)
{
ASSERT(!crawl_state.arena);
- if (player_res_sticky_flame() > 0 || amount <= 0)
+ if (player_res_sticky_flame() || amount <= 0)
return (false);
const int old_value = you.duration[DUR_LIQUID_FLAMES];