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/spl-book.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/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index c04554d56a..fcac1faa6a 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1888,7 +1888,7 @@ int count_staff_spells(const item_def &item, bool need_id) // Returns a measure of the rod spell power disrupted by a worn shield. int rod_shield_leakage() { - const item_def *shield = player_shield(); + const item_def *shield = you.shield(); int leakage = 100; if (shield) |