mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
Update menus_browser.cpp
This commit is contained in:
parent
68b7fbe163
commit
e16c2d39a7
|
@ -576,7 +576,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
|
|||
|
||||
// buttons
|
||||
{
|
||||
CUIRect ButtonRefresh, ButtonConnect;
|
||||
CUIRect ButtonRefresh, ButtonConnect, Button;
|
||||
ConnectButtons.VSplitMid(&Button,&ConnectButtons,5.0f);
|
||||
ConnectButtons.VSplitMid(&ButtonRefresh, &ButtonConnect, 5.0f);
|
||||
|
||||
// verify button
|
||||
|
@ -588,6 +589,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// refresh button
|
||||
{
|
||||
char aLabelBuf[32] = {0};
|
||||
|
@ -626,6 +629,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
|
|||
}
|
||||
}
|
||||
}
|
||||
static bool m_Verified = false;
|
||||
static unsigned int m_VerifyTries = 0;
|
||||
void CMenus::Verify()
|
||||
{
|
||||
if(m_Verified)
|
||||
|
|
Loading…
Reference in a new issue