mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Minor style fixes
This commit is contained in:
parent
6701000931
commit
bbec3b1f2f
|
@ -984,7 +984,8 @@ void CMenus::RenderServerbrowserServerDetail(CUIRect View)
|
|||
Client()->ServerBrowserUpdate();
|
||||
}
|
||||
|
||||
vec4 Colour = pSelectedServer->m_aClients[i].m_FriendState == IFriends::FRIEND_NO ? vec4(1.0f, 1.0f, 1.0f, (i%2+1)*0.05f) :
|
||||
vec4 Colour = pSelectedServer->m_aClients[i].m_FriendState == IFriends::FRIEND_NO ?
|
||||
vec4(1.0f, 1.0f, 1.0f, (i%2+1)*0.05f) :
|
||||
vec4(0.5f, 1.0f, 0.5f, 0.15f+(i%2+1)*0.05f);
|
||||
RenderTools()->DrawUIRect(&Name, Colour, CUI::CORNER_ALL, 4.0f);
|
||||
Name.VSplitLeft(5.0f, 0, &Name);
|
||||
|
@ -1001,7 +1002,9 @@ void CMenus::RenderServerbrowserServerDetail(CUIRect View)
|
|||
else if(IsRace(pSelectedServer))
|
||||
{
|
||||
if(pSelectedServer->m_aClients[i].m_Score == -9999 || pSelectedServer->m_aClients[i].m_Score == 0)
|
||||
{
|
||||
aTemp[0] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
int Time = abs(pSelectedServer->m_aClients[i].m_Score);
|
||||
|
|
Loading…
Reference in a new issue