]> granicus.if.org Git - nethack/commitdiff
Make vault guard accept names starting with number
authorPasi Kallinen <paxed@alt.org>
Wed, 6 Jan 2016 15:28:41 +0000 (17:28 +0200)
committerPasi Kallinen <paxed@alt.org>
Wed, 6 Jan 2016 15:28:45 +0000 (17:28 +0200)
Fix via Dynahack by Tung Nguyen

doc/fixes36.1
src/vault.c

index e957b09fd823b8955cb9f8fefda907688ca4a60d..6bdc85badad4dd8fe8f808c4930e9f3cc03b6e19 100644 (file)
@@ -98,6 +98,7 @@ allow picking a used inventory letter from menu when #adjusting
 zapping wand of opening at yourself, unlock carried boxes
 dissolve iron bars by force-fighting with wielded potion of acid
 poison breath leaves a trail of poison gas
+make vault guard accept names starting with number
 
 
 Platform- and/or Interface-Specific Fixes
index 5b73dadc532d35427843798aa82bbdac9c9faaba..52ca97660189c2659f3c55710fe171ef044a8141 100644 (file)
@@ -376,7 +376,7 @@ invault()
         do {
             getlin("\"Hello stranger, who are you?\" -", buf);
             (void) mungspaces(buf);
-        } while (!letter(buf[0]) && --trycount > 0);
+        } while (!buf[0] && --trycount > 0);
 
         if (u.ualign.type == A_LAWFUL
             /* ignore trailing text, in case player includes rank */