Fixed duet-bug.

This commit is contained in:
Florian Küpper committed 2015-04-02 11:12:13 +02:00
1 parent 4f35c9c583
commit 58590c0db3
1 file changed
+5 -5
+5 -5
View File
@@ -562,9 +562,6 @@ namespace Vocaluxe.Screens
_Background = CDraw.AddTexture(Path.Combine(song.Folder, song.BackgroundFileNames[0]));
}
_SingNotes[_SingBars].Init(CGame.NumPlayers);
if (song.IsDuet)
{
//TODO: Show more than 2 voicenames
@@ -579,11 +576,14 @@ namespace Vocaluxe.Screens
}
else
{
for (int i = 0; i < CGame.NumPlayers; i++)
CGame.Players[i].VoiceNr = voiceAssignments[i];
for (int i = 0; i < CGame.NumPlayers; i++)
CGame.Players [i].VoiceNr = voiceAssignments [i];
}
}
//Attention: This needs to be done after player-assignment!
_SingNotes[_SingBars].Init(CGame.NumPlayers);
_DynamicLyricsTop = false;
_DynamicLyricsBottom = false;