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

@@ -1118,7 +1118,7 @@ makemon(register struct permonst *ptr,
coord cc;
int mndx, mcham, ct, mitem;
boolean anymon = !ptr,
byyou = (x == u.ux && y == u.uy),
byyou = u_at(x, y),
allow_minvent = ((mmflags & NO_MINVENT) == 0),
countbirth = ((mmflags & MM_NOCOUNTBIRTH) == 0),
allowtail = ((mmflags & MM_NOTAIL) == 0);