1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-26 15:22:23 +01:00

Maybe fix invisible opaque monster bug

This commit is contained in:
ChrisANG 2018-06-04 15:01:57 -04:00
parent 486f9ae312
commit acb3a29122

View file

@ -176,7 +176,7 @@ does_block(x,y,lev)
if (is_boulder(obj)) return 1;
/* Mimics mimicing a door or boulder block light. */
if ((mon = m_at(x,y)) && (!mon->minvis) &&
if ((mon = m_at(x,y)) && (!mon->minvis || See_invisible(x,y)) &&
(opaque(mon->data) ||
((mon->m_ap_type == M_AP_FURNITURE &&
(mon->mappearance == S_hcdoor || mon->mappearance == S_vcdoor)) ||