diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-19 00:15:03 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-19 00:15:03 -0700 |
commit | 816628f367e3fed272dfc32b60fe7abc03bf245a (patch) | |
tree | 4379b77a86d9d4f65ed0c56041add05c51b52302 /crawl-ref/source/religion.cc | |
parent | 39358eb848675a5bb10cffc35a8b73543470f2b1 (diff) | |
download | crawl-ref-816628f367e3fed272dfc32b60fe7abc03bf245a.tar.gz crawl-ref-816628f367e3fed272dfc32b60fe7abc03bf245a.zip |
Don't make TSO mad when killing an illusion
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index f8c5a79f70..0600a55cf2 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -4399,6 +4399,10 @@ bool god_hates_killing(god_type god, const monster* mon) if (mons_is_object(mon->type)) return false; + // kill as many illusions as you want. + if (mon->is_illusion()) + return false; + bool retval = false; const mon_holy_type holiness = mon->holiness(); |