1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-07 07:45:11 +01:00

Prompt for levelporting to negative levels

Respects paranoid_quit.
This commit is contained in:
Ron Nazarov 2024-05-12 15:41:01 +01:00
parent ebe5d531ee
commit b79869be22
Signed by: noisytoot
GPG key ID: 1D43EF4F4492268B

View file

@ -1039,6 +1039,7 @@ level_tele(void)
goto random_levtport;
if (newlev < 0 && dungeons[u.uz.dnum].depth_start-1 > newlev && !force_dest) {
if (yesno("There will be no return. Are you sure?", iflags.paranoid_quit) != 'y') return FALSE;
if (*u.ushops0) {
/* take unpaid inventory items off of shop bills */
in_mklev = TRUE; /* suppress map update */