added another configuration option for global animation properties
[rocksndiamonds.git] / src / init.c
index 96eefb31e38a97845effe5bed1ed39bef1ea794a..bda77b8bb0bccf4e3e7c76fb250f137426a96274 100644 (file)
@@ -1366,6 +1366,9 @@ static void set_graphic_parameters_ext(int graphic, int *parameter,
   /* this is only used for drawing envelope graphics */
   g->draw_masked = parameter[GFX_ARG_DRAW_MASKED];
 
+  /* used for toon animations and global animations */
+  g->draw_order = parameter[GFX_ARG_DRAW_ORDER];
+
   /* optional graphic for cloning all graphics settings */
   if (parameter[GFX_ARG_CLONE_FROM] != ARG_UNDEFINED_VALUE)
     g->clone_from = parameter[GFX_ARG_CLONE_FROM];