Better player handling with bugfix (selecting not available player number)

This commit is contained in:
Flamefire committed 2013-04-26 13:19:22 +02:00
1 parent 438068cf5d
commit 7cbae3d2db
5 files changed
+76 -164

No files matched your search

+1 -1
View File
@@ -490,7 +490,7 @@ namespace VocaluxeLib.Menu
for (int p = 0; p < CBase.Game.GetNumPlayer(); p++)
{
//Don't show profile if is selected, but if selected and guest
if (CBase.Game.GetPlayers()[p].ProfileID == i && CBase.Profiles.GetProfiles()[i].GuestProfile==EOffOn.TR_CONFIG_OFF)
if (CBase.Game.GetPlayers()[p].ProfileID == i && CBase.Profiles.GetProfiles()[i].GuestProfile == EOffOn.TR_CONFIG_OFF)
visible = false;
}
}