Fix another wall_angle problem

Secret doors also need the correct wall_angle.
This commit is contained in:
Pasi Kallinen
2024-02-02 18:41:45 +02:00
parent 899cca50ef
commit fc0b61be60
+1 -1
View File
@@ -2092,7 +2092,7 @@ reveal_terrain_getglyph(
*/ */
save_spot = levl[x][y]; save_spot = levl[x][y];
levl[x][y].typ = gl.lastseentyp[x][y]; levl[x][y].typ = gl.lastseentyp[x][y];
if (IS_WALL(levl[x][y].typ)) if (IS_WALL(levl[x][y].typ) || levl[x][y].typ == SDOOR)
xy_set_wall_state(x, y); /* levl[x][y].wall_info */ xy_set_wall_state(x, y); /* levl[x][y].wall_info */
glyph = back_to_glyph(x, y); glyph = back_to_glyph(x, y);
levl[x][y] = save_spot; levl[x][y] = save_spot;