fix a couple of options affecting perm_invent

When the 'O' command is used to change either 'menu_headings' or
'sortloot', inventory display can change so persistent inventory
needs to be updated.

Oddly, the flag to indicate initial options processing remained
True after options had been processed, but that ultimately didn't
matter here.  It's fixed now anyway.

Also, sort the WC2_xxx options in a couple of places.
This commit is contained in:
PatR
2021-03-10 11:22:22 -08:00
parent cc855d6973
commit 28b7a70b33
3 changed files with 44 additions and 25 deletions

View File

@@ -74,6 +74,7 @@ if the orc-town version of mine town has been loaded, creation of orc zombies
when punished, involuntarily teleporting and landing within chain range of
attached ball while encumbered worse than burdened could trigger
"remove_object: obj not on floor" panic on hero's next move
update persistent inventory when 'menu_headings' or 'sortloot' options change
update persistent inventory when putting on a helmet causes it to auto-curse
inventory cursing caused by "this water's no good" effect when drinking from
a fountain didn't update persistent inventory window