diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-01 13:07:35 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-01 13:07:35 +0000 |
commit | 0645520057d5b630626c5e6ce7bf3099c9500ea1 (patch) | |
tree | 41ae4ea4b70c4828ce75c6bb97061d08651a31d3 /crawl-ref/source/player.cc | |
parent | 2b3c8ea80b120c791882a8391292dbdec5333664 (diff) | |
download | crawl-ref-0645520057d5b630626c5e6ce7bf3099c9500ea1.tar.gz crawl-ref-0645520057d5b630626c5e6ce7bf3099c9500ea1.zip |
[1745789] Fixed shield blocking happening without shield (Eino).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1705 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |