]> granicus.if.org Git - nethack/commit
B05002 can open bag then cannot loot it
authornethack.allison <nethack.allison>
Mon, 28 Jul 2003 03:08:46 +0000 (03:08 +0000)
committernethack.allison <nethack.allison>
Mon, 28 Jul 2003 03:08:46 +0000 (03:08 +0000)
commit0c84601be47c45238bb02d37b35788443874a53f
tree123af32b68aea0c439dfe68fc44a544bba9c0ccc
parentb750eee32a66126810a0269ec3cfa3ed66a60a2f
B05002 can open bag then cannot loot it

> Trying to loot a bag on the floor while wielding a cursed
> quarterstaff: "You carefully open the bag... You have no free hand."
> Shouldn't I notice that I have no free hand before even trying?

add freehand() check to able_to_loot()
doc/fixes34.2
src/pickup.c