summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-26 11:24:14 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-26 11:24:14 +0200
commit403d3f9bb4977205216be8a5d32526f9d91de168 (patch)
tree6c1c56c7f0c33beecffce4d9a2598d71978575d4 /crawl-ref/source/itemprop.h
parent47a8935d7344bcb8e316d8b8265ababa51ac09ba (diff)
downloadcrawl-ref-403d3f9bb4977205216be8a5d32526f9d91de168.tar.gz
crawl-ref-403d3f9bb4977205216be8a5d32526f9d91de168.zip
Don't use two misleading schemes for reach ranges.
Both were scalars compatible with int, and both used the name "reach_range" is some cases. Thus, let's use 2/5/8 everywhere. This probably makes the enum obsolete.
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index aa7fb84e26..127f44cf68 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -128,7 +128,6 @@ launch_retval is_launched(const actor *actor, const item_def *launcher,
const item_def &missile);
reach_type weapon_reach(const item_def &item);
-int reach_range(reach_type rt);
// Macguffins
bool item_is_rune(const item_def &item, rune_type which_rune = NUM_RUNE_TYPES);