B07002 - hiding under nothing?
Clear the uundetected status during level changes in case the character was hiding under something immediately prior to the change. Don't set hidden status at the destination even when there's something to hide under--it'll take a turn to hide again.
This commit is contained in:
@@ -199,6 +199,7 @@ cancel chat direction cancels the chat
|
||||
prevent "the mimic looks better" on an unrecognized mimic hit with
|
||||
healing spell
|
||||
after forcefighting a concealed lurker, the lurker wouldn't fight back
|
||||
when polymorphed into a hider, cease hiding during level changes
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
3
src/do.c
3
src/do.c
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)do.c 3.4 2002/05/31 */
|
||||
/* SCCS Id: @(#)do.c 3.4 2002/08/11 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -987,6 +987,7 @@ boolean at_stairs, falling, portal;
|
||||
fill_pit(u.ux, u.uy);
|
||||
u.ustuck = 0; /* idem */
|
||||
u.uinwater = 0;
|
||||
u.uundetected = 0; /* not hidden, even if means are available */
|
||||
keepdogs(FALSE);
|
||||
if (u.uswallow) /* idem */
|
||||
u.uswldtim = u.uswallow = 0;
|
||||
|
||||
Reference in New Issue
Block a user