summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index eea7f5820a..7f4d7d0612 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -1681,9 +1681,9 @@ inline static void _monster_warning(activity_interrupt_type ai,
else if (at.context.find("bursts forth") != std::string::npos)
{
text += " bursts forth from the ";
- if (mons_habitat(mon) == HT_LAVA)
+ if (mons_primary_habitat(mon) == HT_LAVA)
text += "lava";
- else if (mons_habitat(mon) == HT_WATER)
+ else if (mons_primary_habitat(mon) == HT_WATER)
text += "water";
else
text += "realm of bugdom";