Fix the part I forgot

This commit is contained in:
Pasi Kallinen
2023-02-09 08:33:32 +02:00
parent 4ce722b8b2
commit 861fd82926

View File

@@ -4133,7 +4133,7 @@ maybe_unhide_at(coordxy x, coordxy y)
if ((mtmp = m_at(x, y)) == 0 && u_at(x, y)) {
mtmp = &gy.youmonst;
undetected = u.uundetected;
} else {
} else if (mtmp) {
undetected = mtmp->mundetected;
}
if (mtmp && undetected