]> granicus.if.org Git - nethack/commit
fix #H8183 - leather jacket doesn't show AC
authorPatR <rankin@nethack.org>
Tue, 12 Feb 2019 23:40:05 +0000 (15:40 -0800)
committerPatR <rankin@nethack.org>
Tue, 12 Feb 2019 23:40:05 +0000 (15:40 -0800)
commita41d63d146b7a7ad9e4c2f99730e939e69cc295c
treeaa3a32f3e9c8fac665517def360c269374898fe0
parent1a8a774719abe55b5a57f63cc43f183339dc6433
fix #H8183 - leather jacket doesn't show AC

Leather jacket doesn't take multiple turns to wear, so wearing it
wasn't calling Armor_on() and recently moved 'uarm->known = 1' didn't
get executed.  Not reported yet but had the same issue:  fedora and
dented pot wouldn't call Helmet_on().
doc/fixes36.2
src/do_wear.c