fix github issue #110 - sortloot segfault
Fixes #110 NetHack dumped core while qsort was executing for sortloot. Fix a logic error introduced by adding filtering capability to sortloot() which could result in a sparsely populated array instead of having the number of elements be less than the list size. I don't know why this didn't show up sooner.
This commit is contained in:
@@ -53,6 +53,7 @@ Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
|
||||
fix access violation when --debug:xxxx has no other args after it
|
||||
Setting the inverse attribute for gold had the space before "$:"
|
||||
getting highlighted along with the gold field
|
||||
sortloot segfaulted when filtering a subset of items (seen with 'A' command)
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user