From 948af24915dbdb673b1d45c02b416c2c557c9bd1 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 20 Dec 2009 14:06:24 +0100 Subject: Slouch shouldn't damage those who can't move. --- crawl-ref/source/godabil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/godabil.cc') diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index 520f12f32b..f9280b3948 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -1258,7 +1258,7 @@ bool ponderousify_armour() static int _slouch_monsters(coord_def where, int pow, int, actor* agent) { monsters* mon = monster_at(where); - if (mon == NULL) + if (mon == NULL || mons_is_stationary(mon)) return (0); int dmg = (mon->speed - 1000/player_movement_speed()/player_speed()); -- cgit v1.2.3-54-g00ecf