rnd-20031127-1-src
[rocksndiamonds.git] / src / init.c
index 2f5bd60df686df939d9cff8bf9a4ef1a9c89fe72..0e7680a4a4aec84111ebecedcd47c10f3008ceb9 100644 (file)
@@ -930,13 +930,13 @@ static void set_graphic_parameters(int graphic, char **parameter_raw)
     graphic_info[graphic].anim_delay_fixed =
       parameter[GFX_ARG_ANIM_DELAY_FIXED];
   if (parameter[GFX_ARG_ANIM_DELAY_RANDOM] != ARG_UNDEFINED_VALUE)
-    graphic_info[graphic].anim_delay_fixed =
+    graphic_info[graphic].anim_delay_random =
       parameter[GFX_ARG_ANIM_DELAY_RANDOM];
   if (parameter[GFX_ARG_POST_DELAY_FIXED] != ARG_UNDEFINED_VALUE)
-    graphic_info[graphic].anim_delay_fixed =
+    graphic_info[graphic].post_delay_fixed =
       parameter[GFX_ARG_POST_DELAY_FIXED];
   if (parameter[GFX_ARG_POST_DELAY_RANDOM] != ARG_UNDEFINED_VALUE)
-    graphic_info[graphic].anim_delay_fixed =
+    graphic_info[graphic].post_delay_random =
       parameter[GFX_ARG_POST_DELAY_RANDOM];
 
   /* this is only used for toon animations */