From e1c9271f4623d22d671c3fdd762eefd7ee5e4cf0 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 22:57:18 +1000 Subject: Move player_res_asphyx/rotting to player::res_asphyx/rotting. Signed-off-by: Jude Brown --- crawl-ref/source/cloud.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/cloud.cc') 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()); -- cgit v1.2.3-54-g00ecf