them from dropping items rather than making them summoned, so as to avoid any "disappears in a puff of smoke" message. And to avoid anything similar in the future make the monster_die() call a silent, wizard-mode one.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8287 c06c8d41-db1a-0410-9941-cceddc491573
XOD6WQOCQ7OGNEAPXXSSE6A3EUEU7MHMA2IAHUDQTSVW77RTSBBAC // Mark as summoned so its items will also be discarded.mon->mark_summoned(1, true);monster_die(mon, KILL_DISMISSED, NON_MONSTER);
// Do a hard reset so the monster's items will be discarded.mon->flags |= MF_HARD_RESET;// Do a silent, wizard-mode monster_die() just to be extra sure the// player sees nothings.monster_die(mon, KILL_DISMISSED, NON_MONSTER, true, true);