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:
parent
ebe5d531ee
commit
b79869be22
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue