diff options
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) |