summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-11-06 00:38:39 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-11-06 11:31:25 +0100
commite37539615995df764df5746b5b3e2882bfc08c8b (patch)
tree38bcceffb3a06936f1150d9e8eaf415f908e8d06 /crawl-ref/source/beam.h
parent6c9230eb810138a78e0fbd5e21eba652dbd13567 (diff)
downloadcrawl-ref-e37539615995df764df5746b5b3e2882bfc08c8b.tar.gz
crawl-ref-e37539615995df764df5746b5b3e2882bfc08c8b.zip
Remove the ranged brand of reaping (unused for over a year).
Fixing it is possible -- if you want that, please revert this commit and do the work, using the new melee design.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index b9840e57d3..d208a12730 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -47,8 +47,7 @@ typedef bool (*range_used_func)(const bolt& beam, const actor* victim,
int &used);
typedef bool (*beam_damage_func)(bolt& beam, actor* victim, int &dmg,
std::string &dmg_msg);
-typedef bool (*beam_hit_func)(bolt& beam, actor* victim, int dmg,
- int corpse);
+typedef bool (*beam_hit_func)(bolt& beam, actor* victim, int dmg);
typedef bool (*explosion_aoe_func)(bolt& beam, const coord_def& target);
typedef bool (*beam_affect_func)(const bolt &beam, const actor *victim);
@@ -235,7 +234,7 @@ private:
bool hit_wall();
bool damage_ignores_armour() const;
- bool apply_hit_funcs(actor* victim, int dmg, int corpse = -1);
+ bool apply_hit_funcs(actor* victim, int dmg);
bool apply_dmg_funcs(actor* victim, int &dmg,
std::vector<std::string> &messages);