From af4c9875a075ae343883ea7d33b95ec42a3c5e3b Mon Sep 17 00:00:00 2001 From: Florian Kuepper Date: Tue, 10 Apr 2012 16:36:37 +0200 Subject: [PATCH] Sing duets also with 3-6 players. --- Vocaluxe/Screens/CScreenSing.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index b2db5f97..e8a453f9 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -534,8 +534,11 @@ namespace Vocaluxe.Screens bool LyricsOnTop = (CGame.NumPlayer != 1) && CConfig.LyricsOnTop == EOffOn.TR_CONFIG_ON; if (song.IsDuet) - { - CGame.Player[1].LineNr = 1; + { + for (int i = 1; i <= CGame.NumPlayer; i = i + 2) + { + CGame.Player[i].LineNr = 1; + } Statics[htStatics(StaticLyricsDuet)].Visible = true; Lyrics[htLyrics(LyricMainDuet)].Visible = true; Lyrics[htLyrics(LyricSubDuet)].Visible = true;