Accept custom level annotations at the level teleport prompt

via UnNetHack, original implementation by aaxelb
This commit is contained in:
Pasi Kallinen
2016-10-18 23:19:12 +03:00
parent 1506572ea0
commit bf1c81c0b4
2 changed files with 44 additions and 19 deletions

View File

@@ -609,9 +609,9 @@ level_tele()
do {
if (++trycnt == 2) {
if (wizard)
Strcat(qbuf, " [type a number or ? for a menu]");
Strcat(qbuf, " [type a number, name, or ? for a menu]");
else
Strcat(qbuf, " [type a number]");
Strcat(qbuf, " [type a number or name]");
}
getlin(qbuf, buf);
if (!strcmp(buf, "\033")) { /* cancelled */