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

@@ -228,7 +228,7 @@ give_to_nearby_mon(struct obj *otmp, int x, int y)
for (yy = y - 1; yy <= y + 1; ++yy) {
if (!isok(xx, yy))
continue;
if (xx == u.ux && yy == u.uy)
if (u_at(xx, yy))
continue;
if (!(mtmp = m_at(xx, yy)))
continue;