Clean up monster_die(): Add killer index sanity checks, and save monster

friendliness, holiness, and anonymity in variables instead of manually accessing them twice.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9863 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on May 31, 2009
GDAP46HZY4L5ANBOXI36M2OAIXFT7I7DEVB4C5RUEYEXYOTCKO5AC
Dependencies
In channels
main
Change contents