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, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index ed1f96de09..8ce441481a 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5874,6 +5874,10 @@ int player::shield_bonus() const
const int shield_class = player_shield_class();
if (!shield_class)
return (-100);
+
+ // Note that 0 is not quite no-blocking.
+ if (incapacitated())
+ return (0);
int stat = 0;
if (const item_def *sh = const_cast<player*>(this)->shield())