summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/mon-util.cc2
-rw-r--r--crawl-ref/source/player.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 7cfbcb5cc0..42e95001b3 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -2473,7 +2473,7 @@ int monsters::shield_bonus() const
const int shld_c = property(*shld, PARM_AC);
return (random2(shld_c + random2(hit_dice / 2)) / 2);
}
- return (0);
+ return (-100);
}
int monsters::shield_block_penalty() const
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 2a85955949..dcf781a9b4 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -4980,7 +4980,7 @@ int player::shield_bonus() const
{
const int shield_class = player_shield_class();
if (!shield_class)
- return (0);
+ return (-100);
int stat = 0;
if (const item_def *sh = const_cast<player*>(this)->shield())