diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-09 14:33:06 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-09 14:58:19 +0300 |
commit | 9338556ebf846bbc4176134e3846ef6699e8434b (patch) | |
tree | 2107949166730a765e3e1e98a66778f112fb5e6a /crawl-ref/source/religion.cc | |
parent | bf03515e22d610f81afa6d4153afc383f7331363 (diff) | |
download | crawl-ref-9338556ebf846bbc4176134e3846ef6699e8434b.tar.gz crawl-ref-9338556ebf846bbc4176134e3846ef6699e8434b.zip |
Replace mons_wont_attack with monsters::wont_attack.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 6a5b6d3999..590a1ce345 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5452,7 +5452,7 @@ int get_tension(god_type god, bool count_travelling) if (you.see_cell(mons->pos())) { // Monster is nearby. - if (!nearby_monster && !mons_wont_attack(mons)) + if (!nearby_monster && !mons->wont_attack()) nearby_monster = true; } else if (count_travelling) |