Fix the part I forgot

This commit is contained in:
Pasi Kallinen
2023-02-09 08:33:32 +02:00
parent 4ce722b8b2
commit 861fd82926
+1 -1
View File
@@ -4133,7 +4133,7 @@ maybe_unhide_at(coordxy x, coordxy y)
if ((mtmp = m_at(x, y)) == 0 && u_at(x, y)) { if ((mtmp = m_at(x, y)) == 0 && u_at(x, y)) {
mtmp = &gy.youmonst; mtmp = &gy.youmonst;
undetected = u.uundetected; undetected = u.uundetected;
} else { } else if (mtmp) {
undetected = mtmp->mundetected; undetected = mtmp->mundetected;
} }
if (mtmp && undetected if (mtmp && undetected