Sound:
[blender.git] / source / blender / editors / screen / screen_ops.c
index a055041d8ae32025f930529c303c658e4c8ec7f8..ef28ff6dbd1e14129fcc18ff5bf269fcc1a976f4 100644 (file)
@@ -2206,7 +2206,7 @@ static int screen_animation_step(bContext *C, wmOperator *op, wmEvent *event)
                /* sync, don't sync, or follow scene setting */
                if(sad->flag & ANIMPLAY_FLAG_SYNC) sync= 1;
                else if(sad->flag & ANIMPLAY_FLAG_NO_SYNC) sync= 0;
-               else sync= (scene->r.audio.flag & AUDIO_SYNC);
+               else sync= (scene->audio.flag & AUDIO_SYNC);
                
                if(sync) {
                        /* skip frames */