Fix open showing wrong glyph

Trying to open a location where a pet was removed the glyph
and showed the underlying terrain glyph instead.
Just use newsym - it'll use feel_location when Blind.
This commit is contained in:
Pasi Kallinen
2023-01-28 19:11:29 +02:00
parent 44677e82ab
commit cb81631a38

View File

@@ -818,7 +818,7 @@ doopen_indir(coordxy x, coordxy y)
int oldglyph = door->glyph;
schar oldlastseentyp = gl.lastseentyp[cc.x][cc.y];
feel_location(cc.x, cc.y);
newsym(cc.x, cc.y);
if (door->glyph != oldglyph
|| gl.lastseentyp[cc.x][cc.y] != oldlastseentyp)
res = ECMD_TIME; /* learned something */