From 33369e6dae1231e9b38da2c45ab59e670dbe440a Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 10 Dec 2009 00:58:34 +0100 Subject: If you can't move (paralyzed or slept), you won't move towards sirens. --- crawl-ref/source/mon-abil.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-abil.cc') diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc index ade5feba1f..29b7d169e6 100644 --- a/crawl-ref/source/mon-abil.cc +++ b/crawl-ref/source/mon-abil.cc @@ -463,7 +463,8 @@ bool slime_split_merge(monsters *thing) // Returns true if you resist the siren's call. static bool _siren_movement_effect(const monsters *monster) { - bool do_resist = (you.attribute[ATTR_HELD] || you.check_res_magic(70)); + bool do_resist = (you.attribute[ATTR_HELD] || you.check_res_magic(70) + || you.cannot_act() || you.asleep()); if (!do_resist) { -- cgit v1.2.3-54-g00ecf