Bugfix: Crash when starting duet songs.
Please TEST, TEST and TEST before commit! It can't be that this branch contains such silly bugs!
This commit is contained in:
1 parent
abad5fca23
commit
25cccfdeaf
1 file changed
+2
-2
@@ -598,7 +598,7 @@ namespace Vocaluxe.Screens
|
||||
_CheckMics();
|
||||
_CheckPlayers();
|
||||
|
||||
CSong firstSong = CGame.GetSong(0);
|
||||
CSong firstSong = CGame.GetSong(1);
|
||||
|
||||
for (int i = 0; i < CSettings.MaxNumPlayer; i++)
|
||||
{
|
||||
@@ -606,7 +606,7 @@ namespace Vocaluxe.Screens
|
||||
CProfiles.GetAvatarTextureFromProfile(CGame.Players[i].ProfileID) :
|
||||
_OriginalPlayerAvatarTextures[i];
|
||||
_Texts[_TextPlayer[i]].Text = CProfiles.GetPlayerName(CGame.Players[i].ProfileID, i + 1);
|
||||
if (CGame.GetNumSongs() == 1 && CGame.GetSong(1).IsDuet)
|
||||
if (CGame.GetNumSongs() == 1 && firstSong.IsDuet)
|
||||
{
|
||||
_SelectSlides[_SelectSlideDuetPlayer[i]].Clear();
|
||||
_SelectSlides[_SelectSlideDuetPlayer[i]].Visible = i + 1 <= CGame.NumPlayer;
|
||||
|
||||
Reference in new issue
Block a user