diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-05 14:43:16 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-05 14:43:16 +0100 |
commit | 24c5e57c05fcc819155415be59ba2d23a28284d1 (patch) | |
tree | acbcd03ea897e841ea845e96fd82a7ab06e442cc | |
parent | 63e4d7c54fd5932861cbc7649d33e7d52a43b1c2 (diff) | |
download | crawl-ref-24c5e57c05fcc819155415be59ba2d23a28284d1.tar.gz crawl-ref-24c5e57c05fcc819155415be59ba2d23a28284d1.zip |
Another couple of yous busted (Zaba)
-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 c11072653e..6bf43dd736 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6953,7 +6953,7 @@ void player::drain_stat(int stat, int amount, actor *attacker) bool player::rot(actor *who, int amount, int immediate, bool quiet) { - if (you.res_rotting() || amount <= 0) + if (this->res_rotting() || amount <= 0) return (false); if (immediate > 0) @@ -7057,7 +7057,7 @@ bool player::sicken(int amount) { ASSERT(!crawl_state.arena); - if (you.res_rotting() || amount <= 0) + if (this->res_rotting() || amount <= 0) return (false); mpr( "You feel ill." ); |