diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-14 11:56:37 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-14 12:05:16 +0300 |
commit | e7c8daa764478faeadb05f074819c64c6cf3c36e (patch) | |
tree | ec9b7f7b921ffec9f401c1bf50148d10e83ff0a4 /crawl-ref/source/art-func.h | |
parent | 793840497955f01f4d2dbc9abde6fed7c4c83402 (diff) | |
download | crawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.tar.gz crawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.zip |
Move player_can_smell to player::can_smell.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r-- | crawl-ref/source/art-func.h | 4 |
1 files changed, 2 insertions, 2 deletions
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."); |