diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-11 16:26:07 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-11 16:26:07 +0000 |
commit | b0f1f107feafa8320dda16a253c7649d54bf56a0 (patch) | |
tree | e96ed3ae69de6dd1151cc7fac664ae58f50fda74 /crawl-ref/source/spells1.cc | |
parent | 5a10cfbf8b5800a362608ebfd534e643cc5cbbcd (diff) | |
download | crawl-ref-b0f1f107feafa8320dda16a253c7649d54bf56a0.tar.gz crawl-ref-b0f1f107feafa8320dda16a253c7649d54bf56a0.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5734 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index daec507796..5f3295db81 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -612,7 +612,7 @@ static bool _can_pacify_monster(const monsters *mon, const int healed) if (healed < 1) return false; - if (mons_friendly(mon) || mons_neutral(mon)) + if (!_mons_hostile(mon)) return false; if (mons_intel(mon->type) <= I_PLANT) // no self-awareness |