note.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1199 c06c8d41-db1a-0410-9941-cceddc491573
YSIROVP23L7IDSVTBG7OQFQWLORVWWYINH7WPWTZO2I5BH4S7YPQC
// Take note!
if (killer != KILL_RESET && killer != KILL_DISMISSED)
{
if ( MONST_INTERESTING(monster) ||
// XXX yucky hack
monster->type == MONS_PLAYER_GHOST ||
monster->type == MONS_PANDEMONIUM_DEMON )
{
take_note(Note(NOTE_KILL_MONSTER, monster->type, 0,
ptr_monam(monster, DESC_NOCAP_A, true)));
}
}
if ( MONST_INTERESTING(monster) ||
// XXX yucky hack
monster->type == MONS_PLAYER_GHOST ||
monster->type == MONS_PANDEMONIUM_DEMON )
{
take_note(Note(NOTE_KILL_MONSTER, monster->type, 0,
ptr_monam(monster, DESC_NOCAP_A, true)));
}