Merge branch 'develop' of github.com:lukeIam/Vocaluxe into develop

This commit is contained in:
Florian Küpper committed 2013-12-21 23:47:43 +01:00
commit 6009826e02
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ namespace Vocaluxe.Base
if (!IsProfileIDValid(profileID))
return true; // this will prevent from saving dummy profiles to highscore db
return _Profiles[profileID].UserRole.HasFlag(EUserRole.TR_USERROLE_GUEST);
return !_Profiles[profileID].UserRole.HasFlag(EUserRole.TR_USERROLE_NORMAL);
}
public static bool IsActive(int profileID)
+1 -1
View File
@@ -509,7 +509,7 @@ namespace VocaluxeLib.Menu
{
//Don't show profile if is selected, but if selected and guest
if (CBase.Game.GetPlayers()[p].ProfileID == profile.ID
&& profile.UserRole.HasFlag(EUserRole.TR_USERROLE_GUEST))
&& !profile.UserRole.HasFlag(EUserRole.TR_USERROLE_NORMAL))
visible = false;
}
}