Make vault guard accept names starting with number
Fix via Dynahack by Tung Nguyen
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user