1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-16 12:35:05 +01:00

Make prompt for drinking from a forge default to yes/no

Since it's instadeath.  The player could just configure this with
QUERYTYPE, but yes/no is a more sensible default.
This commit is contained in:
Ron Nazarov 2024-05-12 02:30:16 +01:00
parent ed42ac33b4
commit 8e469a063c
Signed by: noisytoot
GPG key ID: 1D43EF4F4492268B

View file

@ -401,7 +401,7 @@ dodrink(void)
/* not as low as floor level but similar restrictions apply */
&& can_reach_floor()
) {
if (yn("Drink from the forge?") == 'y') {
if (yesno("Drink from the forge?", TRUE) == 'y') {
drinkforge();
return 1;
}