summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-05 22:57:18 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-05 22:57:18 +1000
commite1c9271f4623d22d671c3fdd762eefd7ee5e4cf0 (patch)
treebb9d85f1d5451799ee63fa1ceacc689791b26b4c /crawl-ref/source/cloud.cc
parent504bcf4bd3bc5297ca3c508193d7590bae6c1836 (diff)
downloadcrawl-ref-e1c9271f4623d22d671c3fdd762eefd7ee5e4cf0.tar.gz
crawl-ref-e1c9271f4623d22d671c3fdd762eefd7ee5e4cf0.zip
Move player_res_asphyx/rotting to player::res_asphyx/rotting.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 52df81690c..c6b1b5aa09 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -585,7 +585,7 @@ int max_cloud_damage(cloud_type cl_type, int power)
}
case CLOUD_MIASMA:
- if (player_res_rotting())
+ if (you.res_rotting())
return (0);
dam += 11 * speed / 10;
@@ -746,7 +746,7 @@ void in_a_cloud()
case CLOUD_MIASMA:
mpr("You are engulfed in a dark miasma.");
- if (player_res_rotting())
+ if (you.res_rotting())
return;
miasma_player();
@@ -811,7 +811,7 @@ bool is_damaging_cloud(cloud_type type, bool temp)
case CLOUD_STEAM:
return (player_res_steam(false, temp) <= 0);
case CLOUD_MIASMA:
- return (player_res_rotting());
+ return (you.res_rotting());
case CLOUD_MUTAGENIC:
return (you.can_mutate());