summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 81ece0c923..f87bbca3b3 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4615,7 +4615,9 @@ static void _monster_regenerate(monsters *monster)
{
if (monster->has_ench(ENCH_SICK)
|| mons_class_flag(monster->type, M_NO_REGEN))
+ {
return;
+ }
// Non-land creatures out of their element cannot regenerate.
if (mons_habitat(monster) != HT_LAND