projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb7655
)
fixed flickering of toons due to redraw mask change (see previous commit)
author
Holger Schemel
<info@artsoft.org>
Thu, 21 May 2015 09:56:17 +0000
(11:56 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 21 May 2015 09:56:17 +0000
(11:56 +0200)
src/libgame/toons.c
patch
|
blob
|
history
diff --git
a/src/libgame/toons.c
b/src/libgame/toons.c
index b41b93867877e426e0fc0eb0a54ad3d9258ca634..3868bdb68300f2d59a854561be83090325324744 100644
(file)
--- 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)