temporary light fix

Don't replace a monster that's been temporarily seen via camera
flash or thrown/kicked lit candle/lamp with "unseen, remembered
monster" glyph if it can be sensed via telepathy, warning, or
extended monster detection.
This commit is contained in:
PatR
2020-05-09 13:36:22 -07:00
parent 59818fb6ab
commit 7b4f5ce1c0

View File

@@ -322,7 +322,7 @@ transient_light_cleanup()
if (mon->mtemplit) {
mon->mtemplit = 0;
++mtempcount;
if (!canseemon(mon))
if (!canspotmon(mon))
map_invisible(mon->mx, mon->my);
}
}