+
+#if 0
+ if (x == 1 && y == 1 && frame == 0)
+ printf("--> %d, %d, %d\n", *crumbled_src_x, *crumbled_src_y, tile);
+#endif
+
+#if 0
+ getGraphicSource(crumbled, frame, crumbled_src_bitmap,
+ crumbled_src_x, crumbled_src_y);
+#endif
+
+#if 1
+ /* (updating the "crumbled" graphic definitions is probably not really needed,
+ as animations for crumbled graphics can't be longer than one EMC cycle) */
+
+ *crumbled_src_bitmap = NULL;
+ *crumbled_src_x = 0;
+ *crumbled_src_y = 0;
+
+ if (has_crumbled_graphics && crumbled != IMG_EMPTY_SPACE)
+ {
+ int frame_crumbled = getAnimationFrame(g_crumbled->anim_frames,
+ g_crumbled->anim_delay,
+ g_crumbled->anim_mode,
+ g_crumbled->anim_start_frame,
+ sync_frame);
+
+ getGraphicSource(crumbled, frame_crumbled, crumbled_src_bitmap,
+ crumbled_src_x, crumbled_src_y);
+ }
+#endif