diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-07 11:30:34 +0300 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 18:42:47 +1000 |
commit | f2a54d7ab10bd5bef162023c0659d6922b5bfa04 (patch) | |
tree | 11fc33fdffff244a16f88c9c6a4d9bf958e07ada /crawl-ref/source/itemprop.cc | |
parent | 0041be617c3f43fb7b74f1634078984a1b70ba1f (diff) | |
download | crawl-ref-f2a54d7ab10bd5bef162023c0659d6922b5bfa04.tar.gz crawl-ref-f2a54d7ab10bd5bef162023c0659d6922b5bfa04.zip |
Replace player_shield with player::shield.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 2 |
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()); |