added definitions for new screen transition effect (not yet implemented)
[rocksndiamonds.git] / src / libgame / toons.c
index c9bf81ccf0eb54d3de8dd65cb6c53e941173f02a..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)
@@ -352,7 +355,7 @@ void HandleAnimation(int mode)
     case ANIM_STOP:
       if (anim_running)
       {
-       redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
+       redraw_mask |= REDRAW_FIELD;
 
        screen_info.update_function();