summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index e1ef6b8547..18ff4e67d2 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2073,11 +2073,11 @@ static void describe_monster(const monsters *mon)
if (player_beheld_by(mon))
mpr("You are beheld by her song.", MSGCH_EXAMINE);
- if (mon->type == MONS_HYDRA)
- {
+ // XXX: Not strictly correct if we add any other monster with a
+ // variable number of attacks.
+ if (mon->has_hydra_multi_attack())
mprf(MSGCH_EXAMINE, "It has %d head%s.", mon->number,
(mon->number > 1? "s" : ""));
- }
print_wounds(mon);