more fixes for revised 'sortloot'
After some permutation of commands which displayed items, the 'd' command presented a prompt with the list of letters scrambled (in loot order or pack order rather than invlet order), so explicitly sort when getobj operates. Done for ggetobj too. For menustyle:Traditional, ',' followed by 'm' presented a pickup list in pile order even when sortloot was 'l' or 'f'. That was an unintentional change during the 'revamp'.
This commit is contained in:
@@ -823,7 +823,7 @@ boolean FDECL((*allow), (OBJ_P)); /* allow function */
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (sorted) {
|
||||
if (sorted || flags.sortloot != 'n') {
|
||||
sortloot(&olist,
|
||||
(((flags.sortloot == 'f'
|
||||
|| (flags.sortloot == 'l' && !(qflags & USE_INVLET)))
|
||||
|
||||
Reference in New Issue
Block a user