summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 3b1516551a..aeff736ad1 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6130,8 +6130,10 @@ int player::shield_bypass_ability(int tohit) const
return (15 + tohit / 2);
}
-void player::shield_block_succeeded()
+void player::shield_block_succeeded(actor *foe)
{
+ actor::shield_block_succeeded(foe);
+
shield_blocks++;
if (coinflip())
exercise(SK_SHIELDS, 1);