summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index be27606499..0900f1bae6 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6441,8 +6441,8 @@ int player::res_poison() const
int player::res_rotting() const
{
- if (this->is_undead
- && (this->is_undead != US_SEMI_UNDEAD || this->hunger_state < HS_SATIATED))
+ if (is_undead
+ && (is_undead != US_SEMI_UNDEAD || hunger_state < HS_SATIATED))
{
return (1);
}
@@ -6683,7 +6683,7 @@ bool player::rot(actor *who, int amount, int immediate, bool quiet)
if (amount <= 0)
return (false);
- if (this->res_rotting())
+ if (res_rotting())
{
mpr("You feel terrible.");
return (false);
@@ -6802,7 +6802,7 @@ bool player::sicken(int amount)
{
ASSERT(!crawl_state.arena);
- if (this->res_rotting() || amount <= 0)
+ if (res_rotting() || amount <= 0)
return (false);
mpr( "You feel ill." );