diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 23:02:35 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 23:02:35 +0100 |
commit | ea22cd80a5344cd61b27cb1246ff741a5c6829c4 (patch) | |
tree | 1078ab646b0f5c0e1e5435dcc2fe8397bd721738 /crawl-ref/source/religion.cc | |
parent | 32b5cab8cacc2b0b076610486042261d7a9d1fc2 (diff) | |
download | crawl-ref-ea22cd80a5344cd61b27cb1246ff741a5c6829c4.tar.gz crawl-ref-ea22cd80a5344cd61b27cb1246ff741a5c6829c4.zip |
Make the "killing friend" conduct, slouch and swapping place treat projectiles as non-monsters.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 3ec55a07cc..68f1541f59 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -4484,6 +4484,8 @@ bool god_hates_attacking_friend(god_type god, const actor *fr) bool god_hates_attacking_friend(god_type god, int species) { + if (mons_is_projectile(species)) + return (false); switch (god) { case GOD_ZIN: |