From c0c9ad0c3e44f08bac3c74da878b86d8c2015848 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 11 Jan 2025 20:16:11 +0100 Subject: [PATCH] added updating playfield for BD engine if drawing element has changed --- src/game_bd/bd_graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index 2a9b2293..342ee986 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -981,6 +981,7 @@ int gd_drawcave(Bitmap *dest, GdGame *game, boolean force_redraw) if (redraw_all || el_is_animated(game->drawing_buffer[y][x]) || el_is_crumbled(game->drawing_buffer[y][x]) || + game->drawing_buffer[y][x] != game->last_drawing_buffer[y][x] || game->gfx_buffer[y][x] & GD_REDRAW || game->dir_buffer_from[y][x] != GD_MV_STILL || game->dir_buffer_to[y][x] != GD_MV_STILL) -- 2.34.1