From cc6d04519c32ee278b1434c307af7e69006f5ba8 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 3 May 2024 17:57:19 +0300 Subject: [PATCH] Fix mind flayer missing wildly impossible A mind flayer blasted a polyed hero on a pool, who reverted back to human. The hero teleported to safety, but the mind flayer was still thinking hero was at the old location, and tried to attack there. --- src/monmove.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/monmove.c b/src/monmove.c index ec95aa467..41abba80c 100644 --- a/src/monmove.c +++ b/src/monmove.c @@ -785,6 +785,7 @@ dochug(struct monst *mtmp) /* mind flayers can make psychic attacks! */ } else if (is_mind_flayer(mdat) && !rn2(20)) { mind_blast(mtmp); + set_apparxy(mtmp); distfleeck(mtmp, &inrange, &nearby, &scared); }