summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-05-06 14:56:31 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2013-05-06 14:56:31 -0600
commitc494288c9e3e6f405f4286adf06a007055a3b08c (patch)
treea5c4e309325a1b3491d9e085a5fcd7141a7c4575 /crawl-ref/source/godabil.h
parent81797164b00afdef286fafed7f70d5a4e80c7c84 (diff)
downloadcrawl-ref-c494288c9e3e6f405f4286adf06a007055a3b08c.tar.gz
crawl-ref-c494288c9e3e6f405f4286adf06a007055a3b08c.zip
Round two of duplicate code pruning for LOS attack spells.
As a reminder for those of you that don't remember b4b189b, this merges handling for player and monster casting of Drain Life, Ozocubu's Refrigeration, and Olgreb's Toxic Radiance so as to prune a lot of duplicate handling between the three spells/abilities; it was reverted because the previous version of this cleanup exhibited problems when several of the same type of monster were in sight (#6566). The new version of the code splits player-as-target and monster-as-target code into their own functions (another concern raised with the original version of this code). Probably this can be cleaned up more, but it's better than either the original version or the first version of the pruned code! This reverts commit bd9d7a8fecc46bef40d884854d0cc567ce64d912.
Diffstat (limited to 'crawl-ref/source/godabil.h')
-rw-r--r--crawl-ref/source/godabil.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/godabil.h b/crawl-ref/source/godabil.h
index 59aaccc9b2..65d7cb8790 100644
--- a/crawl-ref/source/godabil.h
+++ b/crawl-ref/source/godabil.h
@@ -40,7 +40,6 @@ bool beogh_water_walk();
bool yred_injury_mirror();
bool yred_can_animate_dead();
void yred_animate_remains_or_dead();
-void yred_drain_life();
void yred_make_enslaved_soul(monster* mon, bool force_hostile = false);
bool kiku_receive_corpses(int pow, coord_def where);