autodescribe vs detection

Temporary map views for detection or #terrain allow moving the cursor
around to get the brief location description provided by getpos's
autodescribe feature and were doing so by forcing the 'autodescribe'
option to True, then leaving it that way.  Save the option value prior
to such operations and restore it after instead of leaving it changed.
This commit is contained in:
PatR
2017-04-08 19:39:43 -07:00
parent e1fbfcc8b5
commit 5cb4168c58
2 changed files with 6 additions and 2 deletions

View File

@@ -404,6 +404,8 @@ artifact creation violated illiterate conduct when artifact name was assigned,
behavior intended only for creating Sting or Orcrist via naming
tty: revert to pline() for issuing prompts (override MSGTYPE=hide differently)
previous tty-revert fix had the override test backwards, breaking MSGTYPE
save 'autodescribe' option value prior to detection or #terrain display and
restore it after rather than leave it forced on
Platform- and/or Interface-Specific Fixes