]> granicus.if.org Git - nethack/commitdiff
bits (from <Someone>)
authornethack.allison <nethack.allison>
Thu, 28 Aug 2003 11:19:08 +0000 (11:19 +0000)
committernethack.allison <nethack.allison>
Thu, 28 Aug 2003 11:19:08 +0000 (11:19 +0000)
- 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>

doc/Guidebook.mn
src/teleport.c

index f9b1a88397efd0beae787c63a2f9ffe06e609dc2..6c68f05d275c9622abf46deb5ef42b75cd9f8bd3 100644 (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
index 2a8fd250ea4f6e4daa6c346986d471cd4bde50d2..1d8aecc5d660e632f8d9e0b15993f81d6735c206 100644 (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)) {