diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-29 14:53:58 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-29 14:53:58 +0000 |
commit | d372bf943a90bb9ca949d92724b98762b25d57a6 (patch) | |
tree | ab55561aa9c19cc2cbe95fd01a6dfe549810fa0e /crawl-ref/source/monstuff.cc | |
parent | f8ea72f9b61219a187d9e3a026de32e46c35f789 (diff) | |
download | crawl-ref-d372bf943a90bb9ca949d92724b98762b25d57a6.tar.gz crawl-ref-d372bf943a90bb9ca949d92724b98762b25d57a6.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7069 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 936a093742..dc16649615 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -764,7 +764,7 @@ static void _mummy_curse(monsters* monster, killer_type killer, int index) void monster_die(monsters *monster, killer_type killer, int killer_index, bool silent) { - if (monster->type == -1) + if (invalid_monster(monster)) return; if (!silent && _monster_avoided_death(monster, killer, killer_index)) |