From ebd71d544e25cad46f4168e37864c9cfff379701 Mon Sep 17 00:00:00 2001 From: Cameron Lentz <48235540+Ardub23@users.noreply.github.com> Date: Mon, 18 May 2026 21:17:55 -0600 Subject: [PATCH] Bumping into unseen peacefuls doesn't anger them If the hero walked into a creature without attacking, the creature would react as if the hero had attacked violently--but only if the creature was peaceful (not tame), and only if the hero couldn't see them. There is no clear reason for this to occur, given that the hero's action is both innocent and harmless. And it can cause frustration if a strong peaceful creature (such as a quest leader) decides to go invisible or hide. Now, bumping into an unseen peaceful creature will awaken it without being treated as an attack. --- src/uhitm.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/uhitm.c b/src/uhitm.c index dcc63fa3b..0b6ddf1e9 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -249,13 +249,7 @@ attack_checks( && m_next2u(mtmp)) set_ustuck(mtmp); } - /* #H7329 - if hero is on engraved "Elbereth", this will end up - * assessing an alignment penalty and removing the engraving - * even though no attack actually occurs. Since it also angers - * peacefuls, we're operating as if an attack attempt did occur - * and the Elbereth behavior is consistent. - */ - wakeup(mtmp, TRUE, TRUE); /* always necessary; also un-mimics mimics */ + wakeup(mtmp, FALSE, TRUE); /* always necessary; also un-mimics mimics */ return TRUE; }