summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 45a31c189c..27b382fa6c 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -887,7 +887,7 @@ static void _maybe_spawn_jellies(int dam, const char* aux,
}
-
+#ifdef WIZARD
static void _wizard_restore_life()
{
if (you.hp <= 0)
@@ -909,6 +909,7 @@ static void _wizard_restore_life()
you.redraw_intelligence = true;
}
}
+#endif
// death_source should be set to NON_MONSTER for non-monsters. {dlb}
void ouch(int dam, int death_source, kill_method_type death_type,