Use u_at macro
This commit is contained in:
@@ -1891,9 +1891,9 @@ mfndpos(
|
||||
continue;
|
||||
info[cnt] |= ALLOW_SSM;
|
||||
}
|
||||
if ((nx == u.ux && ny == u.uy)
|
||||
if (u_at(nx, ny)
|
||||
|| (nx == mon->mux && ny == mon->muy)) {
|
||||
if (nx == u.ux && ny == u.uy) {
|
||||
if (u_at(nx, ny)) {
|
||||
/* If it's right next to you, it found you,
|
||||
* displaced or no. We must set mux and muy
|
||||
* right now, so when we return we can tell
|
||||
|
||||
Reference in New Issue
Block a user