summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index bf88181561..5640d8f096 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2886,7 +2886,7 @@ void update_level( double elapsedTime )
{
heal_monster( mon, turns, false );
}
- else
+ else if (!mons_class_flag(mon->type, M_NO_REGEN))
{
// Set a lower ceiling of 0.1 on the regen rate.
const int regen_rate =