Use u_at macro

This commit is contained in:
Pasi Kallinen
2022-02-23 20:28:35 +02:00
parent 2635c60280
commit 8e91320d2f
40 changed files with 126 additions and 130 deletions

View File

@@ -403,7 +403,7 @@ mattacku(register struct monst *mtmp)
*/
boolean ranged = (distu(mtmp->mx, mtmp->my) > 3),
range2 = !monnear(mtmp, mtmp->mux, mtmp->muy),
foundyou = (mtmp->mux == u.ux && mtmp->muy == u.uy),
foundyou = u_at(mtmp->mux, mtmp->muy),
youseeit = canseemon(mtmp),
skipnonmagc = FALSE;