removed shadowing of outer variable by local variable
[rocksndiamonds.git] / src / anim.c
index aa005263a2f03c0feb619382b0ebdd60398fb5ad..8a1264c2314da0fd79ec204451bf58bfd7dede6c 100644 (file)
@@ -411,7 +411,8 @@ static void InitToonControls(void)
     int sound = SND_UNDEFINED;
     int music = MUS_UNDEFINED;
     int graphic = IMG_TOON_1 + i;
-    int control = graphic;
+
+    control = graphic;
 
     part->nr = part_nr;
     part->anim_nr = anim_nr;