Skip to content

Commit 146df46

Browse files
committed
bug: secret doors in ascii mode were highlighted all the time
1 parent 943ab0e commit 146df46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thing_display_ascii.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ void Thing::blit_ascii_at(point p, bool lit, bool left_bar)
480480
//
481481
// Allow secret doors a chance to be seen
482482
//
483-
if (is_secret_door() /* && discovered() */) {
483+
if (is_secret_door() && discovered()) {
484484
color outline_color = ORANGE;
485485
outline_color.a = alpha;
486486
ascii_set(TILE_LAYER_BG_0, p.x, p.y, outline_color);

0 commit comments

Comments
 (0)