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/beam.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 3d3c6bc1d8..a5cdbe3cc3 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1780,7 +1780,7 @@ void bolt::fire_wall_effect() emit_message(MSGCH_PLAIN, "The wax appears to soften slightly."); } - else if (player_can_smell()) + else if (you.can_smell()) emit_message(MSGCH_PLAIN, "You smell warm wax."); } } @@ -1790,7 +1790,7 @@ void bolt::fire_wall_effect() grd(pos()) = DNGN_FLOOR; if (you.see_cell(pos())) emit_message(MSGCH_PLAIN, "The wax bubbles and burns!"); - else if (player_can_smell()) + else if (you.can_smell()) emit_message(MSGCH_PLAIN, "You smell burning wax."); place_cloud(CLOUD_FIRE, pos(), random2(10)+15, whose_kill(), killer()); obvious_effect = true; @@ -1804,7 +1804,7 @@ void bolt::fire_wall_effect() grd(pos()) = DNGN_FLOOR; if (you.see_cell(pos())) emit_message(MSGCH_PLAIN, "The tree burns like a torch!"); - else if (player_can_smell()) + else if (you.can_smell()) emit_message(MSGCH_PLAIN, "You smell burning wood."); if (whose_kill() == KC_YOU) did_god_conduct(DID_KILL_PLANT, 1, effect_known); -- cgit v1.2.3-54-g00ecf