]> granicus.if.org Git - nethack/commit
fix #H265 - applying wielded towel fails with odd message
authornethack.rankin <nethack.rankin>
Thu, 15 Mar 2007 06:04:08 +0000 (06:04 +0000)
committernethack.rankin <nethack.rankin>
Thu, 15 Mar 2007 06:04:08 +0000 (06:04 +0000)
commita2a5df0932e66d136efee608c0146cfdfab29ced
treeabc6671f9f5f449b0b07fa910580a405920ff7c0
parentcba99b52c38b212cd81b5f3e37bebfe0a88aaa7c
fix #H265 - applying wielded towel fails with odd message

     From a bug report:  attempting to apply
a towel which is currently "worn" in the weapon, alternate weapon, or
quiver slot fails with "you cannot use it while you're wearing it".  The
message sounds odd when the towel is wielded, and there's no reason why
you shouldn't be able to use it when it's in any of those weapon slots.
Compare it with current blindfold rather than checking its owornmask.
doc/fixes34.4
src/apply.c