summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-10 00:43:01 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-10 00:43:01 +0100
commit0f55e73c6f9d41b127a25186fc502e2c95f17f46 (patch)
tree4d6669ccc1780026b8046f739f9ef61ce41ddd8c /crawl-ref/source/monster.cc
parent9d79dc038f1d09f3ef9aa375c2c885b987ebb8ef (diff)
downloadcrawl-ref-0f55e73c6f9d41b127a25186fc502e2c95f17f46.tar.gz
crawl-ref-0f55e73c6f9d41b127a25186fc502e2c95f17f46.zip
Also list cloud type for fog generator exclusion annotations.
Increases minor version by one as travel_exclude now stores a string rather than the monster type, which is more versatile and can also be used for cloud names.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index c2139a4b90..c67ad4785b 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -1161,11 +1161,13 @@ bool monsters::drop_item(int eslot, int near)
if (pitem->flags & ISFLAG_SUMMONED)
{
if (need_message(near))
+ {
mprf("%s %s as %s drops %s!",
pitem->name(DESC_CAP_THE).c_str(),
summoned_poof_msg(this, *pitem).c_str(),
name(DESC_NOCAP_THE).c_str(),
pitem->quantity > 1 ? "them" : "it");
+ }
item_was_destroyed(*pitem, mindex());
destroy_item(item_index);