summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index c48a641ff1..c220166ba9 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2854,7 +2854,7 @@ bool is_shield(const item_def &item)
bool is_shield_incompatible(const item_def &weapon, const item_def *shield)
{
// If there's no shield, there's no problem.
- if (!shield && !(shield = player_shield()))
+ if (!shield && !(shield = you.shield()))
return (false);
hands_reqd_type hand = hands_reqd(weapon, you.body_size());