diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 109d4c60a7..4d4569a51d 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -628,16 +628,12 @@ bool mons_is_icy(int mc) || mc == MONS_ICE_STATUE); } -// Monsters consider as "slime" for Jiyva. +// Monsters considered as "slime" for Jiyva. bool mons_is_slime(const monsters *mon) { - if (mons_genus(mon->type) == MONS_JELLY - || mons_genus(mon->type) == MONS_GIANT_EYEBALL - || mons_genus(mon->type) == MONS_GIANT_ORANGE_BRAIN) - { - return (true); - } - return (false); + return (mons_genus(mon->type) == MONS_JELLY + || mons_genus(mon->type) == MONS_GIANT_EYEBALL + || mons_genus(mon->type) == MONS_GIANT_ORANGE_BRAIN); } bool mons_eats_items(const monsters *mon) |