Various bits I had in progress before Michael's commit.

Mainly forget engravings when bones are saved instead of leaving them
flagged as seen for the next hero who gets the level.
This commit is contained in:
PatR
2024-12-19 18:18:11 -08:00
parent 21d35e768c
commit 8a7f3b2b6b
6 changed files with 37 additions and 17 deletions

View File

@@ -1404,7 +1404,7 @@ show_map_spot(coordxy x, coordxy y, boolean cnf)
if (!IS_FURNITURE(lev->typ)) {
if ((t = t_at(x, y)) != 0 && t->tseen) {
map_trap(t, 1);
} else if ((ep = engr_at(x, y)) != 0) {
} else if ((ep = engr_at(x, y)) != 0 && !cnf) {
map_engraving(ep, 1);
} else if (glyph_is_trap(oldglyph) || glyph_is_object(oldglyph)) {
show_glyph(x, y, oldglyph);