fix #H5264 fix

MSGTYPE handling was being suppressed, except during prompting when
it was intended to be suppressed.
This commit is contained in:
PatR
2017-04-05 12:44:55 -07:00
parent b708f8b39b
commit e1fbfcc8b5
2 changed files with 2 additions and 1 deletions

View File

@@ -403,6 +403,7 @@ DUMPLOG: RIP tombstone was printed for characters who survived (ascended,
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
Platform- and/or Interface-Specific Fixes

View File

@@ -145,7 +145,7 @@ VA_DECL(const char *, line)
if ((pline_flags & SUPPRESS_HISTORY) == 0)
dumplogmsg(line);
#endif
if ((pline_flags & OVERRIDE_MSGTYPE) != 0) {
if ((pline_flags & OVERRIDE_MSGTYPE) == 0) {
msgtyp = msgtype_type(line, no_repeat);
if (msgtyp == MSGTYP_NOSHOW
|| (msgtyp == MSGTYP_NOREP && !strcmp(line, prevmsg)))