From 0aafe11515504e7f8beba428d218c5ee87dc09cd Mon Sep 17 00:00:00 2001 From: HMM Date: Sun, 31 Oct 2021 16:12:25 -0400 Subject: [PATCH] Don't erase Elbereth when monster steps into a pit or hole dug by you Elbereth was fading when offscreen monsters stepped into pits or holes dug elsewhere on the level. This was happening because monsters falling into traps set by you were calling setmangry() as if you had just attacked them. The behavior made it unsafe to use Elbereth if you've dug down anywhere else on the level, making it a bit harder to get archeologists off the ground. --- src/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index 70187849c..a33b2b35f 100644 --- a/src/trap.c +++ b/src/trap.c @@ -3117,7 +3117,7 @@ mintrap(register struct monst *mtmp) Recognizing who made the trap isn't completely unreasonable; everybody has their own style. */ if (trap->madeby_u && rnl(5)) - setmangry(mtmp, TRUE); + setmangry(mtmp, FALSE); return trapeffect_selector(mtmp, trap, 0); }