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
|
zapping wand of opening at yourself, unlock carried boxes
|
||||||
dissolve iron bars by force-fighting with wielded potion of acid
|
dissolve iron bars by force-fighting with wielded potion of acid
|
||||||
poison breath leaves a trail of poison gas
|
poison breath leaves a trail of poison gas
|
||||||
|
make vault guard accept names starting with number
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+1
-1
@@ -376,7 +376,7 @@ invault()
|
|||||||
do {
|
do {
|
||||||
getlin("\"Hello stranger, who are you?\" -", buf);
|
getlin("\"Hello stranger, who are you?\" -", buf);
|
||||||
(void) mungspaces(buf);
|
(void) mungspaces(buf);
|
||||||
} while (!letter(buf[0]) && --trycount > 0);
|
} while (!buf[0] && --trycount > 0);
|
||||||
|
|
||||||
if (u.ualign.type == A_LAWFUL
|
if (u.ualign.type == A_LAWFUL
|
||||||
/* ignore trailing text, in case player includes rank */
|
/* ignore trailing text, in case player includes rank */
|
||||||
|
|||||||
Reference in New Issue
Block a user