summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index bc866e813d..e56f9daf7a 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -2293,7 +2293,7 @@ int mons_adjust_flavoured(monsters *monster, bolt &pbolt, int hurted,
}
else if (original < hurted && doFlavouredEffects)
{
- if (mons_is_icy(monster->type))
+ if (monster->is_icy())
simple_monster_message(monster, " melts!");
else if (monster->type == MONS_BUSH)
simple_monster_message(monster, " is on fire!");
@@ -2491,7 +2491,7 @@ int mons_adjust_flavoured(monsters *monster, bolt &pbolt, int hurted,
}
else if (hurted > original)
{
- if (mons_is_icy(monster->type))
+ if (monster->is_icy())
{
if (doFlavouredEffects)
simple_monster_message(monster, " melts!");
@@ -2526,7 +2526,7 @@ int mons_adjust_flavoured(monsters *monster, bolt &pbolt, int hurted,
}
else if (resist < 0)
{
- if (mons_is_icy(monster->type))
+ if (monster->is_icy())
{
if (doFlavouredEffects)
simple_monster_message(monster, " melts!");