getobj() ? fix
commit221a73fe2bb19fbb17eff316e0f6f43e39cd3cba
authorPatR <rankin@nethack.org>
Sun, 10 Apr 2016 23:16:07 +0000 (10 16:16 -0700)
committerPatR <rankin@nethack.org>
Sun, 10 Apr 2016 23:16:07 +0000 (10 16:16 -0700)
tree1f6ee507cc26f8759c1006d7b89600d90e65ce19
parent65b9429b602ea20b5d1fd9577e4fa0a76ecf3001
getobj() ? fix

The "sortloot revamp" patch six or seven weeks ago broke filtering
for '?' menu in display_pickinv() called by getobj().  The old code
handled 'lets' when building an array of object pointers to be
sorted.  The revamp code did away with that to sort the linked list
instead, but neglected to put 'lets' handling into the subsequent
menu creation loop which is now operating on full invent rather
than the filtered subset.
doc/fixes36.1
src/invent.c