]> granicus.if.org Git - nethack/commit
sortloot fixes
authorPatR <rankin@nethack.org>
Mon, 14 Mar 2016 22:32:17 +0000 (15:32 -0700)
committerPatR <rankin@nethack.org>
Mon, 14 Mar 2016 22:32:17 +0000 (15:32 -0700)
commit1aff4f89fd4d53caf5a483323f1428668968735a
tree77edc1ab6cf84857c7671ad81feab2da498c64b3
parent529dad8ef15d255e00ba2d75dd9a92d5030d97f5
sortloot fixes

Fix some typos in the sort-by-invlet code and a logic error in the
lately added subclass sorting for sort-by-pack.  Regular inventory
display only works correctly for the latter if invlet is the tie-
breaker within object classes.  When helmet/gloves/boots/&c and
ammo/launcher/missile/&c sub-categories already break ties for armor
and weapon classes, inventory ended up out of alphabetical order.
src/invent.c