fix mintrap() return value and resurrect dead code

fixes #672
This commit is contained in:
nhmall
2022-02-08 17:31:34 -05:00
parent f1ef83b4db
commit fe03b10208
2 changed files with 6 additions and 5 deletions

View File

@@ -1005,6 +1005,9 @@ giving a prefix keystroke other than 'm' prior to a command that doesn't use
prior revision broke all prefix usage
movement command revamp broke 'm>' and 'm<' on stairs to avoid auto-pickup at
the destination
when trapeffect_selector() returns 2 to caller mintrap(), meant to
signify that the monster was killed in the trap, ensure that
mintrap() returns that value too
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support