diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
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]; |