rnd-20061014-2-src
[rocksndiamonds.git] / src / libgame / toons.c
index f48621b950bcf60e4f7184fb0b0af2e83a9100f0..17fe7c3c4f116cd4db3cdf9dbd061f280048725c 100644 (file)
@@ -308,7 +308,6 @@ void HandleAnimation(int mode)
   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;
@@ -338,6 +337,8 @@ void HandleAnimation(int mode)
       if (anim_running)
       {
 #if 0
+       int draw_mode;
+
        redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER);
 
        /* Redraw background even when in direct drawing mode */