diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7734fd26d7..cf5193c2b0 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2506,12 +2506,6 @@ int player_mag_abil(bool is_weighted) return ((is_weighted) ? ((ma * you.intel) / 10) : ma); } -// Returns the shield the player is wearing, or NULL if none. -item_def *player_shield() -{ - return (you.shield()); -} - int player_shield_class(void) //jmf: changes for new spell { int base_shield = 0; @@ -5976,6 +5970,7 @@ bool player::could_wield(const item_def &item, bool ignore_brand, return (true); } +// Returns the shield the player is wearing, or NULL if none. item_def *player::shield() { if (!you_tran_can_wear(EQ_SHIELD)) |