diff --git a/src/pager.c b/src/pager.c index 9be576708..7e1fdfa41 100644 --- a/src/pager.c +++ b/src/pager.c @@ -547,7 +547,7 @@ ice_descr(coordxy x, coordxy y, char *outbuf) neardist = (r * r) * 2 - r; /* same as r*r + r*(r-1) */ iflags.ice_rating = -1; /* secondary output, for 'mention_decor' */ - if (levl[x][y].typ != ICE) { + if (SURFACE_AT(x, y) != ICE) { Sprintf(outbuf, "[ice:%d?]", (int) levl[x][y].typ); } else if ((distu(x, y) > neardist || (!cansee(x, y) && (!u_at(x, y) || Levitation)))