Merge branch 'develop' of https://github.com/flokuep/Vocaluxe into develop
This commit is contained in:
commit
7009096b1c
5 files changed
+5
-5
No files matched your search
@@ -4,7 +4,7 @@
|
||||
<PlayerName>Guest 1</PlayerName>
|
||||
<Difficulty>TR_CONFIG_EASY</Difficulty>
|
||||
<Avatar>Avatar_f.png</Avatar>
|
||||
<GuestProfile>TR_CONFIG_ON</GuestProfile>
|
||||
<UserRole>TR_USERROLE_GUEST</UserRole>
|
||||
<Active>TR_CONFIG_ON</Active>
|
||||
</Info>
|
||||
</root>
|
||||
@@ -4,7 +4,7 @@
|
||||
<PlayerName>Guest 2</PlayerName>
|
||||
<Difficulty>TR_CONFIG_EASY</Difficulty>
|
||||
<Avatar>Avatar_f.png</Avatar>
|
||||
<GuestProfile>TR_CONFIG_ON</GuestProfile>
|
||||
<UserRole>TR_USERROLE_GUEST</UserRole>
|
||||
<Active>TR_CONFIG_ON</Active>
|
||||
</Info>
|
||||
</root>
|
||||
@@ -4,7 +4,7 @@
|
||||
<PlayerName>Guest 3</PlayerName>
|
||||
<Difficulty>TR_CONFIG_EASY</Difficulty>
|
||||
<Avatar>Avatar_m.png</Avatar>
|
||||
<GuestProfile>TR_CONFIG_ON</GuestProfile>
|
||||
<UserRole>TR_USERROLE_NORMAL</UserRole>
|
||||
<Active>TR_CONFIG_ON</Active>
|
||||
</Info>
|
||||
</root>
|
||||
@@ -877,7 +877,7 @@ namespace Vocaluxe.Screens
|
||||
}
|
||||
else
|
||||
{
|
||||
CGame.ResetToLastLine(_CurrentStream, _CurrentVideo);
|
||||
//CGame.ResetToLastLine(_CurrentStream, _CurrentVideo);
|
||||
_Buttons[_ButtonCancel].Visible = false;
|
||||
_Buttons[_ButtonContinue].Visible = false;
|
||||
_Buttons[_ButtonSkip].Visible = false;
|
||||
|
||||
@@ -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_NORMAL))
|
||||
&& profile.UserRole >= EUserRole.TR_USERROLE_NORMAL)
|
||||
visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user