Make vault guard accept names starting with number

Fix via Dynahack by Tung Nguyen
This commit is contained in:
Pasi Kallinen
2016-01-06 17:28:41 +02:00
parent c740425a90
commit c2ceb88d3c
2 changed files with 2 additions and 1 deletions

View 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

View 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 */