bits (from <Someone>)

- Guidebook typo
- wizard mode prompt

[...]
> 2/3) In Guidebook* the lines subkeyval (Win32 tty NetHackonly).
> May be used to alter the value of should read subkeyval (Win32
> tty NetHack only). May be used to alter the value of
>
> 3/3) I miss a hint for the new wizmode feature levelteleport by
> menu. Neither wizhelp nor the dialog tell you about it. Maybe if
> (++trycnt == 2) Strcat(qbuf, " [type a number or ?]"); in
> teleport.c:589 could provide a hint.
>
> <Someone>
This commit is contained in:
nethack.allison
2003-08-28 11:19:08 +00:00
parent cea7c0399d
commit 6f1e7c828e
2 changed files with 8 additions and 2 deletions

View File

@@ -2224,7 +2224,7 @@ Cannot be set with the `O' command.
(default on, PC NetHack only).
Cannot be set with the `O' command.
.lp subkeyval
(Win32 tty NetHackonly).
(Win32 tty NetHack only).
May be used to alter the value of keystrokes that the operating system
returns to NetHack to help compensate for international keyboard issues.
OPTIONS=subkeyvalue:171/92

View File

@@ -592,7 +592,13 @@ level_tele()
Strcpy(qbuf, "To what level do you want to teleport?");
do {
if (++trycnt == 2) Strcat(qbuf, " [type a number]");
if (++trycnt == 2) {
#ifdef WIZARD
if (wizard) Strcat(qbuf, " [type a number or ? for a menu]");
else
#endif
Strcat(qbuf, " [type a number]");
}
getlin(qbuf, buf);
if (!strcmp(buf,"\033")) { /* cancelled */
if (Confusion && rnl(5)) {