Recalc mapseen when a special room is entered

This commit is contained in:
Pasi Kallinen
2023-12-28 18:57:39 +02:00
parent 9f5f4b3c32
commit 073b0c90f3

View File

@@ -3419,8 +3419,10 @@ room_discovered(int roomno)
{
mapseen *mptr = find_mapseen(&u.uz);
if (mptr)
if (mptr && !mptr->msrooms[roomno].seen) {
mptr->msrooms[roomno].seen = 1;
recalc_mapseen();
}
}
/* #overview command */