flags.sortloot tweaks
commita0a44089577038570917a243c49cc6ae86952531
authorPatR <rankin@nethack.org>
Tue, 19 Apr 2016 21:40:59 +0000 (19 14:40 -0700)
committerPatR <rankin@nethack.org>
Tue, 19 Apr 2016 21:40:59 +0000 (19 14:40 -0700)
tree11b44749c17c2e60a896d09198d7016722bea019
parentdaee9f3e7c25c68e932c1111bcf0f7ce451cd95e
flags.sortloot tweaks

flags.sortloot was changed from boolean to xchar, but proper type
is plain char.  (Presumeably it was originally off or on, then got
changed to 'n' for off, 'l' for on, plus 'f' for super-on.)

Also, make the sortloot menu for 'O' mark the current value as
preselected when interactively setting the value.  (I've been
meaning to do this for various other options but haven't gotten
around to it.  The need to workaround PICK_ONE+MENU_SELECTED menu
behavior is a nuisance.)
include/flag.h
src/options.c