diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-06-26 11:24:14 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-06-26 11:24:14 +0200 |
commit | 403d3f9bb4977205216be8a5d32526f9d91de168 (patch) | |
tree | 6c1c56c7f0c33beecffce4d9a2598d71978575d4 /crawl-ref/source/itemprop.h | |
parent | 47a8935d7344bcb8e316d8b8265ababa51ac09ba (diff) | |
download | crawl-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.h | 1 |
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); |