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.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index cdeefc8204..8b05a833d9 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3243,17 +3243,18 @@ void bolt::affect_place_clouds()
if (p == you.pos())
{
mprf("The %s you are in turns into %s!",
- cloud_name(ctype).c_str(), cloud_name(new_type).c_str());
+ cloud_name(cloudidx).c_str(), cloud_name(new_type).c_str());
obvious_effect = true;
}
else if (you.see_cell(p))
{
mprf("A cloud of %s turns into %s.",
- cloud_name(ctype).c_str(), cloud_name(new_type).c_str());
+ cloud_name(cloudidx).c_str(), cloud_name(new_type).c_str());
obvious_effect = true;
}
ctype = new_type;
+ env.cloud[cloudidx].name = "";
return;
}