From: Holger Schemel Date: Thu, 7 Mar 2024 00:08:40 +0000 (+0100) Subject: fixed graphical bugs when using smooth movements with BD engine X-Git-Tag: 4.4.0.0-test-1~240 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=53eb378f7b2264e792eedf961575e07e3e587528;p=rocksndiamonds.git fixed graphical bugs when using smooth movements with BD engine --- diff --git a/src/game_bd/bd_gameplay.c b/src/game_bd/bd_gameplay.c index 9f1d96e6..55905ec6 100644 --- a/src/game_bd/bd_gameplay.c +++ b/src/game_bd/bd_gameplay.c @@ -383,7 +383,7 @@ static GdGameState gd_game_main_int(GdGame *game, boolean allow_iterate, boolean { for (x = 0; x < game->cave->w; x++) { - game->last_element_buffer[y][x] = game->element_buffer[y][x]; + game->last_element_buffer[y][x] = game->element_buffer[y][x] & ~SKIPPED; game->dir_buffer[y][x] = GD_MV_STILL; } }