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:
+1
-1
@@ -818,7 +818,7 @@ doopen_indir(coordxy x, coordxy y)
|
|||||||
int oldglyph = door->glyph;
|
int oldglyph = door->glyph;
|
||||||
schar oldlastseentyp = gl.lastseentyp[cc.x][cc.y];
|
schar oldlastseentyp = gl.lastseentyp[cc.x][cc.y];
|
||||||
|
|
||||||
feel_location(cc.x, cc.y);
|
newsym(cc.x, cc.y);
|
||||||
if (door->glyph != oldglyph
|
if (door->glyph != oldglyph
|
||||||
|| gl.lastseentyp[cc.x][cc.y] != oldlastseentyp)
|
|| gl.lastseentyp[cc.x][cc.y] != oldlastseentyp)
|
||||||
res = ECMD_TIME; /* learned something */
|
res = ECMD_TIME; /* learned something */
|
||||||
|
|||||||
Reference in New Issue
Block a user