From e7c8daa764478faeadb05f074819c64c6cf3c36e Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 14 Nov 2009 11:56:37 +0300 Subject: Move player_can_smell to player::can_smell. --- crawl-ref/source/art-func.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/art-func.h') diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h index 83ba5264ad..1fc84ad220 100644 --- a/crawl-ref/source/art-func.h +++ b/crawl-ref/source/art-func.h @@ -202,7 +202,7 @@ static void _olgreb_pluses(item_def *item) static void _OLGREB_equip(item_def *item, bool *show_msgs, bool unmeld) { - if (player_can_smell()) + if (you.can_smell()) _equip_mpr(show_msgs, "You smell chlorine."); else _equip_mpr(show_msgs, "The staff glows a sickly green."); @@ -212,7 +212,7 @@ static void _OLGREB_equip(item_def *item, bool *show_msgs, bool unmeld) static void _OLGREB_unequip(const item_def *item, bool *show_msgs) { - if (player_can_smell()) + if (you.can_smell()) _equip_mpr(show_msgs, "The smell of chlorine vanishes."); else _equip_mpr(show_msgs, "The staff's sickly green glow vanishes."); -- cgit v1.2.3-54-g00ecf