diff playtree.c @ 10394:59982e3c403b

Fix -shuffle with remote playlist
author albeu
date Tue, 08 Jul 2003 10:45:05 +0000
parents f74f8b809697
children 9a495bdc3a1e
line wrap: on
line diff
--- a/playtree.c	Mon Jul 07 23:02:25 2003 +0000
+++ b/playtree.c	Tue Jul 08 10:45:05 2003 +0000
@@ -397,6 +397,8 @@
 
   for(i = 0; src->params[i].name != NULL ; i++)
     play_tree_set_param(dest,src->params[i].name,src->params[i].value);
+  if(src->flags & PLAY_TREE_RND) // pass the random flag too
+    dest->flags |= PLAY_TREE_RND;
 
 }