Use macros for monster appearances

This commit is contained in:
Pasi Kallinen
2015-10-18 13:55:11 +03:00
parent 822b372644
commit 95983f6ae6
11 changed files with 20 additions and 39 deletions

View File

@@ -2416,9 +2416,7 @@ lookaround()
|| IS_AIR(levl[x][y].typ))
continue;
else if (closed_door(x, y)
|| (mtmp && mtmp->m_ap_type == M_AP_FURNITURE
&& (mtmp->mappearance == S_hcdoor
|| mtmp->mappearance == S_vcdoor))) {
|| (mtmp && is_door_mappear(mtmp))) {
if (x != u.ux && y != u.uy)
continue;
if (context.run != 1)