From 9a20cf0a34b9caec2ff9a5c3708a88fb84c80496 Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 8 Feb 2009 18:29:52 +0000 Subject: Fix debugging ray zaps (e.g. unknown wands) always setting obvious_effect by making ZAP_DEBUGGING_RAY no longer an obvious_effect. It might be more correct to restore obvious_effect on a tracer, or at least a player_tracer, but bug 2515082 [and r8500] makes me cautious. Fix healing being too generously identified. Fix wand of healing not working on enemies if you happen to worship Ely. Fixes [2580106]. Also some dead code elimination. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8982 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells1.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'crawl-ref/source/spells1.h') diff --git a/crawl-ref/source/spells1.h b/crawl-ref/source/spells1.h index 8b32ca2264..f34ea6cf9f 100644 --- a/crawl-ref/source/spells1.h +++ b/crawl-ref/source/spells1.h @@ -16,17 +16,9 @@ struct bolt; -// last updated 24may2000 {dlb} -/* *********************************************************************** - * called from: spell - * *********************************************************************** */ bool cast_sure_blade(int power); - -// last updated 24may2000 {dlb} -/* *********************************************************************** - * called from: ability - spell - * *********************************************************************** */ -int cast_healing(int pow, const coord_def& where = coord_def(0,0)); +int cast_healing(int pow, bool divine_ability = false, + const coord_def& where = coord_def(0,0)); void remove_divine_vigour(); bool cast_divine_vigour(); -- cgit v1.2.3-54-g00ecf