removed unneeded statement
authorHolger Schemel <info@artsoft.org>
Sat, 17 Feb 2024 12:58:46 +0000 (13:58 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 18 Feb 2024 15:17:00 +0000 (16:17 +0100)
src/game_bd/bd_graphics.c

index b59057d83cb383e5b5d789160c6210a4d28c1154..8938ab80d8c23444dd674846dce14e12d4047b28 100644 (file)
@@ -357,7 +357,7 @@ int gd_drawcave(Bitmap *dest, GdGame *game, boolean force_redraw)
          if (!(game->last_element_buffer[y][x] & SKIPPED))
          {
            /* redraw previous game element on the cave field the new element is moving to */
-           int tile_old = game->last_element_buffer[y][x] & ~SKIPPED;
+           int tile_old = game->last_element_buffer[y][x];
            struct GraphicInfo_BD *g_old = &graphic_info_bd_object[tile_old][frame];
 
            blit_bitmap(g_old->bitmap, dest, g_old->src_x, g_old->src_y, cell_size, cell_size,