diff options
author | Neil Moore <neil@s-z.org> | 2014-07-26 13:56:21 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-26 13:56:24 -0400 |
commit | b5c30267114becfb2c4642605c561647846ed8bb (patch) | |
tree | d0dbbf45a8080d44c03220dcd2f6a109bc072206 /crawl-ref/source/files.cc | |
parent | 3704e0c0cde552fc3be241c76adfdc5542cf5050 (diff) | |
download | crawl-ref-b5c30267114becfb2c4642605c561647846ed8bb.tar.gz crawl-ref-b5c30267114becfb2c4642605c561647846ed8bb.zip |
Theoretically improve ghost interestingness check.
It doesn't make a difference currently, but if ghost_init ever decides
to set the attitude, this would be more correct.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 12485e2fdf..2518a70859 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1827,7 +1827,8 @@ bool load_ghost(bool creating_level) mons->bind_spell_flags(); if (mons->ghost->species == SP_DEEP_DWARF) mons->flags |= MF_NO_REGEN; - mark_interesting_monst(mons, mons->behaviour); + mark_interesting_monst(mons, + attitude_creation_behavior(mons->attitude)); ghosts.erase(ghosts.begin()); #ifdef BONES_DIAGNOSTICS |