From f2a54d7ab10bd5bef162023c0659d6922b5bfa04 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 7 Nov 2009 11:30:34 +0300 Subject: Replace player_shield with player::shield. Signed-off-by: Jude Brown --- crawl-ref/source/itemprop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/itemprop.cc') 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()); -- cgit v1.2.3-54-g00ecf