]> granicus.if.org Git - nethack/commit
container->{cknown,lknown) vs perm_invent
authorPatR <rankin@nethack.org>
Tue, 4 Jun 2019 19:13:46 +0000 (12:13 -0700)
committerPatR <rankin@nethack.org>
Tue, 4 Jun 2019 19:13:46 +0000 (12:13 -0700)
commit093e7c31e43da0c200be352bc27106ade87061ae
treedbe1f5b2292a3f511ebecfb079320557174d7783
parent43afa91ff80217b2e8d4b7350053b9c35b50d716
container->{cknown,lknown) vs perm_invent

Carried containers could have their contents-known state and/or
lock-known state changed without persistent inventory window being
updated to show the new information.

This also changes the behavior when player has hero zap self with
wand of locking or wizard lock spell.  If it doesn't trigger a
holding trap then the effect will hit inventory, similar to how
opening/knock operates (releasing hero from holding trap or hiting
inventory when that doesn't happen).
doc/fixes36.3
src/end.c
src/pickup.c
src/zap.c