fix "object lost" panic after query_objlist

Reported directly to devteam for recent git code, the "sortloot
revamp" patch could trigger an object lost panic after calling
query_objlist() when menustyle was full or partial and player
picked up a subset of available items.  Modified head-of-list was
not being propagated to its source in pickup().  Use an extra layer
of indirection.
This commit is contained in:
PatR
2016-03-20 13:01:56 -07:00
parent c53565036c
commit 3353ad1114
2 changed files with 13 additions and 11 deletions

View File

@@ -192,6 +192,7 @@ female gnome who gains level can grow up into male-only gnome lord; give an
an alternate message instead of prohibiting the promotion
kicked weapon which successfully hits monster vanishes from play
unseen landmine explosion could result in "The <monst-type> statue crumbles."
post-3.6.0: fix "object lost" panic during pickup caused by sortloot revamp
Platform- and/or Interface-Specific Fixes