Skip to content

Commit 20f02d1

Browse files
committed
Allow background colors of partly covered tiles to display.
This allows a wand of exit to be highlighted (at least for one character) when it's in a chest.
1 parent ab12e9c commit 20f02d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

simalq/display.hy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,11 @@ interface elements as lists of `ColorChar`s."
286286
[below above] (zip out (color-tile tile))
287287
(if (= above.char " ")
288288
; A space character is transparent to the tile below.
289-
(ColorChar below.char below.fg above.bg below.bold)
289+
(ColorChar
290+
below.char
291+
below.fg
292+
(or below.bg above.bg)
293+
below.bold)
290294
above))))
291295
(when (=
292296
(dist p G.player.pos)

0 commit comments

Comments
 (0)