diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-04 23:05:17 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-04 23:06:10 +0530 |
commit | 8084c80b478e96fc46a66eae2b8dafd36c87ade4 (patch) | |
tree | e4c1fa229c334587ca7b8f9369ee58cd6a147ff0 /crawl-ref/source/item_use.cc | |
parent | b1ee54b1fe15e89838f70a64bedd9899b8fb3119 (diff) | |
download | crawl-ref-8084c80b478e96fc46a66eae2b8dafd36c87ade4.tar.gz crawl-ref-8084c80b478e96fc46a66eae2b8dafd36c87ade4.zip |
Remove unused static fn (Napkin).
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index b24d4c204b..faf6f9c0d2 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -1674,16 +1674,6 @@ bool elemental_missile_beam(int launcher_brand, int ammo_brand) return (element != 0); } -static int _item_to_skill_level(const item_def *item) -{ - skill_type type = range_skill(*item); - - if (type == SK_SLINGS) - return (you.skills[type] + you.skills[SK_THROWING]); - - return (2 * you.skills[type]); -} - static bool _poison_hit_victim(bolt& beam, actor* victim, int dmg, int corpse) { if (!victim->alive() || victim->res_poison() > 0) |