summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mstuff2.cc')
-rw-r--r--crawl-ref/source/mstuff2.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index aee3917ec1..7299ba365c 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -21,6 +21,7 @@ REVISION("$Rev$");
#include "arena.h"
#include "artefact.h"
#include "beam.h"
+#include "cloud.h"
#include "database.h"
#include "debug.h"
#include "delay.h"
@@ -1285,6 +1286,10 @@ void monster_teleport(monsters *monster, bool instan, bool silent)
if (player_monster_visible(monster) && now_visible)
handle_seen_interrupt(monster);
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, oldplace, 1 + random2(3),
+ monster->kill_alignment());
+
monster->check_redraw(oldplace);
monster->apply_location_effects(oldplace);