\#saveoptions fix

I hadn't ever used #saveoptions before and when I checked to see
whether the autounlock:none changes were being handled properly, I
discovered that options set via 'm O' weren't being handled at all.

This includes some miscellaneous reformatting of things noticed
while tracking down the problem.
This commit is contained in:
PatR
2022-10-13 13:19:58 -07:00
committed by nhmall
parent de2c9a42af
commit cb33b9ecc8
3 changed files with 17 additions and 8 deletions

View File

@@ -1410,6 +1410,8 @@ tipping contents of one container directly into another allowed transferring
prevent random traps from being created inside the shops in the tourist quest
if hero's steed got hit by knockback effect, impossible "no monster to remove"
would occur (plus more warnings if 'sanity_check' was On)
the #saveoptions command included options changed via doset_simple() but not
ones changed via full doset()
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support