queue_remove was removing wrong item

This commit is contained in:
ejurgensen 2014-05-06 22:55:59 +02:00
parent d8940bfd2d
commit 44c3dba3d9

View File

@ -3548,7 +3548,7 @@ queue_remove(struct player_command *cmd)
return -1;
}
for (i = 0; i <= pos; i++)
for (i = 0; i < pos; i++)
{
ps = shuffle ? ps->shuffle_next : ps->pl_next;
}