From: Pasi Kallinen Date: Wed, 6 Jan 2016 15:28:41 +0000 (+0200) Subject: Make vault guard accept names starting with number X-Git-Tag: NetHack-3.6.1_RC01~1064^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2ceb88d3c5682974bc2b866b6cbec1a1fdd3578;p=nethack Make vault guard accept names starting with number Fix via Dynahack by Tung Nguyen --- diff --git a/doc/fixes36.1 b/doc/fixes36.1 index e957b09fd..6bdc85bad 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -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 diff --git a/src/vault.c b/src/vault.c index 5b73dadc5..52ca97660 100644 --- a/src/vault.c +++ b/src/vault.c @@ -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 */