fixed flickering of toons due to redraw mask change (see previous commit)
authorHolger Schemel <info@artsoft.org>
Thu, 21 May 2015 09:56:17 +0000 (11:56 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 21 May 2015 09:56:17 +0000 (11:56 +0200)
src/libgame/toons.c

index b41b93867877e426e0fc0eb0a54ad3d9258ca634..3868bdb68300f2d59a854561be83090325324744 100644 (file)
@@ -159,6 +159,9 @@ void DrawAnim(Bitmap *toon_bitmap, int src_x, int src_y, int width, int height,
 
   BlitBitmap(screen_info.save_buffer, backbuffer, buffer_x, buffer_y,
             pad_width, pad_height, pad_dest_x, pad_dest_y);
+
+  /* prevent immediate redraw of restored toon area in backbuffer */
+  redraw_mask = REDRAW_NONE;
 }
 
 boolean AnimateToon(int toon_nr, boolean restart)