summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc6
1 files changed, 3 insertions, 3 deletions
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);