Use u_at macro
This commit is contained in:
@@ -2874,7 +2874,7 @@ recalc_mapseen(void)
|
||||
*/
|
||||
for (x = 1; x < COLNO; x++) {
|
||||
for (y = 0; y < ROWNO; y++) {
|
||||
if (cansee(x, y) || (x == u.ux && y == u.uy && !Levitation)) {
|
||||
if (cansee(x, y) || (u_at(x, y) && !Levitation)) {
|
||||
ltyp = levl[x][y].typ;
|
||||
if (ltyp == DRAWBRIDGE_UP)
|
||||
ltyp = db_under_typ(levl[x][y].drawbridgemask);
|
||||
|
||||
Reference in New Issue
Block a user