summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-tornado.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-09-28 19:29:24 +0100
committerChris Campbell <chriscampbell89@gmail.com>2012-09-28 19:29:24 +0100
commit38fb632dac69634f09ce1e5dddfe91f5de307770 (patch)
tree858fadf1772d12920c718e7e8bbbafa4ab06ee2e /crawl-ref/source/spl-tornado.cc
parent2bd00910a84dd11e796f201b9f467228d3c158f6 (diff)
downloadcrawl-ref-38fb632dac69634f09ce1e5dddfe91f5de307770.tar.gz
crawl-ref-38fb632dac69634f09ce1e5dddfe91f5de307770.zip
Unify checks for liquefaction, don't slow stationary monsters
Diffstat (limited to 'crawl-ref/source/spl-tornado.cc')
-rw-r--r--crawl-ref/source/spl-tornado.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-tornado.cc b/crawl-ref/source/spl-tornado.cc
index 19714f8efc..6b8492962a 100644
--- a/crawl-ref/source/spl-tornado.cc
+++ b/crawl-ref/source/spl-tornado.cc
@@ -310,9 +310,9 @@ void tornado_damage(actor *caster, int dur)
continue;
}
- leda = liquefied(victim->pos()) && victim->ground_level()
- || victim->is_monster()
- && _mons_is_unmovable(victim->as_monster());
+ leda = victim->liquefied_ground()
+ || victim->is_monster()
+ && _mons_is_unmovable(victim->as_monster());
if (!victim->res_wind())
{
if (victim->is_monster())