entering gehennom

When you first attempt to walk down the stairs from the Valley of the
Dead to the second level of the Gehennom branch, the game prompts you about
whether you really want to proceed.  But if wasn't keeping track of whether
you had previously level teleported past that point (which is possible when
starting from the Valley rather than from higher up), so would still issue
that once-only prompt if you used the stairs later.  Mark the prompt as if
it has already given whenever you reach a Gehennom level beyond the Valley.
This commit is contained in:
nethack.rankin
2005-06-26 05:10:49 +00:00
parent 3e3ec4ebe5
commit 7364f73ce7
2 changed files with 4 additions and 0 deletions

View File

@@ -1315,6 +1315,8 @@ boolean at_stairs, falling, portal;
You_hear("groans and moans everywhere.");
} else pline("It is hot here. You smell smoke...");
}
/* in case we've managed to bypass the Valley's stairway down */
if (Inhell && !Is_valley(&u.uz)) u.uevent.gehennom_entered = 1;
if (familiar) {
static const char * const fam_msgs[4] = {