diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 290c22c73..00f581816 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -235,6 +235,8 @@ display the invisible monster glyph ('I') whenever an unseen monster forces poly'd hero out of hiding escape the deleted trap after performing the invocation while trapped use alternate phrasing when life drain attack affects non-living creature +bypass "wait! there's a creature hidden there" when attacking a hidden monster + sensed by ongoing monster detection Platform- and/or Interface-Specific Fixes diff --git a/src/uhitm.c b/src/uhitm.c index 6c5245acc..9ac52aa2a 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)uhitm.c 3.5 2006/03/29 */ +/* SCCS Id: @(#)uhitm.c 3.5 2006/06/21 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -172,7 +172,8 @@ struct obj *wep; /* uwep for attack(), null for kick_monster() */ seemimic(mtmp); return(FALSE); } - if (!(Blind ? Blind_telepat : Unblind_telepat)) { + if (!((Blind ? Blind_telepat : Unblind_telepat) || + Detect_monsters)) { struct obj *obj; if (Blind || (is_pool(mtmp->mx,mtmp->my) && !Underwater))