summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 21:29:48 +0300
committerAdam Borowski <kilobyte@angband.pl>2009-11-07 19:24:19 +0100
commit5e294c8cc236c58e72dff69c51b24d6b59533359 (patch)
treeda67f8150a94fd0a4b2299749f9e19c55185e719 /crawl-ref/source/itemprop.cc
parent5d2a499bab2f4c907e08803542329c65edb8231c (diff)
downloadcrawl-ref-5e294c8cc236c58e72dff69c51b24d6b59533359.tar.gz
crawl-ref-5e294c8cc236c58e72dff69c51b24d6b59533359.zip
Remove unused get_inv_wielded and get_inv_in_hand.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 93cd26c35a..b56c76ef14 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2053,20 +2053,6 @@ bool check_weapon_wieldable_size( const item_def &item, size_type size )
return (fit == 0);
}
-// Returns the you.inv[] index of our wielded weapon or -1 (no item, not wield).
-int get_inv_wielded( void )
-{
- return (player_weapon_wielded() ? you.equip[EQ_WEAPON] : -1);
-}
-
-// Returns the you.inv[] index of the thing in our hand... this is provided
-// as a service to specify that both of the above are irrelevant.
-// Do not use this for low level functions dealing with wielding directly.
-int get_inv_in_hand( void )
-{
- return (you.equip[EQ_WEAPON]);
-}
-
//
// Launcher and ammo functions:
//