projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070908-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
toons.c
diff --git
a/src/libgame/toons.c
b/src/libgame/toons.c
index c5f1ff39bbdd0de17040a8208f9cd171c638e91f..d6d1c4cf95229fb1d7cabba3f3818e84de9771d1 100644
(file)
--- a/
src/libgame/toons.c
+++ b/
src/libgame/toons.c
@@
-308,7
+308,6
@@
void HandleAnimation(int mode)
static boolean anim_restart = TRUE;
static boolean reset_delay = TRUE;
static int toon_nr = 0;
static boolean anim_restart = TRUE;
static boolean reset_delay = TRUE;
static int toon_nr = 0;
- int draw_mode;
if (!setup.toons || screen_info.num_toons == 0)
return;
if (!setup.toons || screen_info.num_toons == 0)
return;
@@
-335,15
+334,16
@@
void HandleAnimation(int mode)
break;
case ANIM_STOP:
break;
case ANIM_STOP:
- redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
+ if (anim_running)
+ {
+#if 1
+ redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
- /* Redraw background even when in direct drawing mode */
- draw_mode = setup.direct_draw;
- setup.direct_draw = FALSE;
- screen_info.update_function();
- setup.direct_draw = draw_mode;
+ screen_info.update_function();
+#endif
- anim_running = FALSE;
+ anim_running = FALSE;
+ }
return;
return;