From bef11f9923ca3b56d1d5fb6886d082ce2d8bed44 Mon Sep 17 00:00:00 2001 From: MeirGavish Date: Sat, 19 Jul 2025 17:17:23 +0300 Subject: [PATCH] Fixed blind bottom of rect overwrite on skip bug --- source/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game.c b/source/game.c index e7811a6..c4b0bb8 100644 --- a/source/game.c +++ b/source/game.c @@ -548,7 +548,7 @@ void change_background(int id) } // Copy plain tiles onto the bottom of the raised blind panel to fill the gap created by the raise - Rect gap_fill_rect = {x_from, y_from, x_from + 5, y_from}; + Rect gap_fill_rect = {x_from, y_from, x_from + rect_width(&SINGLE_BLIND_SELECT_RECT) - 1, y_from}; // - 1 to stay within rect boundaries BG_POINT gap_fill_point = {x_to, y_to}; main_bg_se_copy_rect(gap_fill_rect, gap_fill_point);