Fixed switching of duet-parts.

This commit is contained in:
Florian Küpper committed 2013-01-10 17:22:39 +01:00
1 parent ff23a57eef
commit 6d78de87f8
1 file changed
+2 -2
+2 -2
View File
@@ -339,9 +339,9 @@ namespace Vocaluxe.Screens
if (CGame.GetNumSongs() == 1 && CGame.GetSong(1).IsDuet)
{
if (SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].Selection == 0)
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].SetSelectionByValueIndex(1);
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].Selection = 1;
else
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].SetSelectionByValueIndex(0);
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].Selection = 0;
//Reset all values
selectingKeyboardPlayerNr = 0;
selectingKeyboardActive = false;