Add helpless monster macro

This commit is contained in:
Pasi Kallinen
2022-03-18 10:19:04 +02:00
parent 480ba917a1
commit 39acd095b2
21 changed files with 66 additions and 68 deletions

View File

@@ -1490,7 +1490,7 @@ dogaze(void)
continue;
}
setmangry(mtmp, TRUE);
if (!mtmp->mcanmove || mtmp->mstun || mtmp->msleeping
if (helpless(mtmp) || mtmp->mstun
|| !mtmp->mcansee || !haseyes(mtmp->data)) {
looked--;
continue;