diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-11-07 14:56:18 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2010-11-07 14:56:18 +0100 |
commit | 6632c35f1ddc2cdbfe2e42ef06d16abb1f098493 (patch) | |
tree | 8bc515cfbbb11202a3870d32712cd9a696cc212d /crawl-ref/source/spl-monench.cc | |
parent | e5f2eb70b10ada3033746e5c0f1ecab5fad75564 (diff) | |
download | crawl-ref-6632c35f1ddc2cdbfe2e42ef06d16abb1f098493.tar.gz crawl-ref-6632c35f1ddc2cdbfe2e42ef06d16abb1f098493.zip |
Simplify phrasing
Diffstat (limited to 'crawl-ref/source/spl-monench.cc')
-rw-r--r-- | crawl-ref/source/spl-monench.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-monench.cc b/crawl-ref/source/spl-monench.cc index e0ce59979b..da32620100 100644 --- a/crawl-ref/source/spl-monench.cc +++ b/crawl-ref/source/spl-monench.cc @@ -31,7 +31,7 @@ static int _sleep_monsters(coord_def where, int pow, int, actor *) if (!mons->can_hibernate(true)) return (0); - if (mons->check_res_magic(pow)) + if (mons->check_res_magic(pow) > 0) return (0); const int res = mons->res_cold(); @@ -95,7 +95,7 @@ static int _tame_beast_monsters(coord_def where, int pow, int, actor *) if (you.species == SP_HILL_ORC && mons->type == MONS_WARG) pow += (pow / 2); - if (mons->check_res_magic(pow)) + if (mons->check_res_magic(pow) > 0) return 0; simple_monster_message(mons, " is tamed!"); |