From 58f42dec260dc9d186ff8b6453a989930723eba4 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 10 Oct 2009 23:49:54 -0700 Subject: kill some DEBUG/WIZARD compiler warnings about unused functions cloud.cc:45: warning: "bool _killer_whose_match(kill_category, killer_type)" defined but not used mutation.cc:1923: warning: "bool _is_random(mutation_type)" defined but not used ouch.cc:891: warning: "void _wizard_restore_life()" defined but not used Signed-off-by: Steven Noonan --- crawl-ref/source/ouch.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/ouch.cc') 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, -- cgit v1.2.3-54-g00ecf