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:
parent
486f9ae312
commit
acb3a29122
1 changed files with 1 additions and 1 deletions
|
@ -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)) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue