diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 5dd852ff30..7734fd26d7 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -732,13 +732,6 @@ bool you_tran_can_wear(int eq, bool check_mutation) return (true); } -// Returns the item in the given equipment slot, NULL if the slot is empty. -// eq must be in [EQ_WEAPON, EQ_AMULET], or bad things will happen. -item_def *player_slot_item(equipment_type eq) -{ - return (you.slot_item(eq)); -} - // Returns the item in the player's weapon slot. item_def *player_weapon() { @@ -5922,6 +5915,8 @@ int player::damage_brand(int) return (ret); } +// Returns the item in the given equipment slot, NULL if the slot is empty. +// eq must be in [EQ_WEAPON, EQ_AMULET], or bad things will happen. item_def *player::slot_item(equipment_type eq) { ASSERT(eq >= EQ_WEAPON && eq <= EQ_AMULET); |