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.
This commit is contained in:
Pasi Kallinen
2024-05-03 17:57:19 +03:00
parent edaf4ac438
commit cc6d04519c

View File

@@ -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);
}