diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-03 21:00:05 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-03 21:00:56 +0100 |
commit | 8910118eef56319a5071eee2c9acba0a09bea356 (patch) | |
tree | f6cd31cbd2987d6e0b984e2c4e325c54e03f42b6 | |
parent | 7cc2d009707d6da58aec65655de89f2770e3652c (diff) | |
download | crawl-ref-8910118eef56319a5071eee2c9acba0a09bea356.tar.gz crawl-ref-8910118eef56319a5071eee2c9acba0a09bea356.zip |
Fix inverted logic wrt curare and res_aphyx.
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 94cd9271be..c81874056b 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5218,7 +5218,7 @@ bool curare_hits_player(int death_source, int amount) int hurted = 0; - if (player_res_asphyx()) + if (player_res_asphyx() <= 0) { hurted = roll_dice(2, 6); |