summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index b35a98ec37..17f1d25172 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1388,6 +1388,9 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
if (!see_grid(pos))
large_change = true;
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, you.pos(), 1 + random2(3), KC_YOU);
+
you.moveto(pos);
// Merfolk should be able to control-tele into deep water.
@@ -1463,6 +1466,9 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
large_change = true;
}
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, you.pos(), 1 + random2(3), KC_YOU);
+
you.moveto(newpos);
}