projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed signal handling to not catch Ctrl-C anymore
[rocksndiamonds.git]
/
src
/
libgame
/
toons.c
diff --git
a/src/libgame/toons.c
b/src/libgame/toons.c
index c9bf81ccf0eb54d3de8dd65cb6c53e941173f02a..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);
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)
}
boolean AnimateToon(int toon_nr, boolean restart)
@@
-352,7
+355,7
@@
void HandleAnimation(int mode)
case ANIM_STOP:
if (anim_running)
{
case ANIM_STOP:
if (anim_running)
{
- redraw_mask |=
(REDRAW_FIELD | REDRAW_FROM_BACKBUFFER)
;
+ redraw_mask |=
REDRAW_FIELD
;
screen_info.update_function();
screen_info.update_function();