From: Holger Schemel Date: Thu, 21 May 2015 09:56:17 +0000 (+0200) Subject: fixed flickering of toons due to redraw mask change (see previous commit) X-Git-Tag: 4.0.0.0-rc1~188 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b4386b98e72c02fd67d30c207836a4642219a401;p=rocksndiamonds.git fixed flickering of toons due to redraw mask change (see previous commit) --- diff --git a/src/libgame/toons.c b/src/libgame/toons.c index b41b9386..3868bdb6 100644 --- a/src/libgame/toons.c +++ b/src/libgame/toons.c @@ -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)