summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 604c2b971a..6eecfaacac 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -217,7 +217,7 @@ int check_your_resists(int hurted, beam_type flavour)
break;
case BEAM_MIASMA:
- if (player_res_rotting())
+ if (you.res_rotting())
{
canned_msg(MSG_YOU_RESIST);
hurted = 0;