diff options
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 78d5513673..4843130936 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -3993,9 +3993,9 @@ void give_shield(monsters *mon, int level) // If the monster is already wielding/carrying a two-handed weapon, it // doesn't get a shield. (Monsters always prefer raw damage to protection!) if (main_weap - && hands_reqd(*main_weap, mon->body_size(PSIZE_BODY)) == HANDS_TWO + && hands_reqd(*main_weap, mon->body_size()) == HANDS_TWO || alt_weap - && hands_reqd(*alt_weap, mon->body_size(PSIZE_BODY)) == HANDS_TWO) + && hands_reqd(*alt_weap, mon->body_size()) == HANDS_TWO) { return; } |