Skip to content

Commit

Permalink
bug: secret doors in ascii mode were highlighted all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jul 13, 2023
1 parent 943ab0e commit 146df46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thing_display_ascii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void Thing::blit_ascii_at(point p, bool lit, bool left_bar)
//
// Allow secret doors a chance to be seen
//
if (is_secret_door() /* && discovered() */) {
if (is_secret_door() && discovered()) {
color outline_color = ORANGE;
outline_color.a = alpha;
ascii_set(TILE_LAYER_BG_0, p.x, p.y, outline_color);
Expand Down

0 comments on commit 146df46

Please sign in to comment.