diff options
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index be41c25177..6e395a802a 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -2124,19 +2124,20 @@ static void _describe_monster(const monsters *mon) if (!mons_is_mimic(mon->type) && mons_behaviour_perceptible(mon)) { - if (mon->behaviour == BEH_SLEEP) + if (mons_is_sleeping(mon)) { mprf(MSGCH_EXAMINE, "%s appears to be resting.", mon->pronoun(PRONOUN_CAP).c_str()); } // Applies to both friendlies and hostiles - else if (mon->behaviour == BEH_FLEE) + else if (mons_is_fleeing(mon)) { mprf(MSGCH_EXAMINE, "%s is retreating.", mon->pronoun(PRONOUN_CAP).c_str()); } // hostile with target != you - else if (!mons_friendly(mon) && !mons_neutral(mon) && mon->foe != MHITYOU) + else if (!mons_friendly(mon) && !mons_neutral(mon) + && mon->foe != MHITYOU) { // special case: batty monsters get set to BEH_WANDER as // part of their special behaviour. |