mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
Discard unnesaccery changes
This commit is contained in:
parent
f4b8033056
commit
9d77b8f716
|
@ -1249,10 +1249,7 @@ int CMenus::RenderMenubar(CUIRect r)
|
||||||
if(Client()->State() == IClient::STATE_OFFLINE)
|
if(Client()->State() == IClient::STATE_OFFLINE)
|
||||||
SetMenuPage(NewPage);
|
SetMenuPage(NewPage);
|
||||||
else
|
else
|
||||||
{
|
|
||||||
m_PrevGamePage = m_GamePage;
|
|
||||||
m_GamePage = NewPage;
|
m_GamePage = NewPage;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -3092,7 +3089,6 @@ const CMenus::CMenuImage *CMenus::FindMenuImage(const char *pName)
|
||||||
|
|
||||||
void CMenus::SetMenuPage(int NewPage)
|
void CMenus::SetMenuPage(int NewPage)
|
||||||
{
|
{
|
||||||
m_PrevMenuPage = m_MenuPage;
|
|
||||||
m_MenuPage = NewPage;
|
m_MenuPage = NewPage;
|
||||||
if(NewPage >= PAGE_INTERNET && NewPage <= PAGE_KOG)
|
if(NewPage >= PAGE_INTERNET && NewPage <= PAGE_KOG)
|
||||||
g_Config.m_UiPage = NewPage;
|
g_Config.m_UiPage = NewPage;
|
||||||
|
|
|
@ -271,9 +271,7 @@ protected:
|
||||||
void ClearCustomItems(int CurTab);
|
void ClearCustomItems(int CurTab);
|
||||||
|
|
||||||
int m_MenuPage;
|
int m_MenuPage;
|
||||||
int m_PrevMenuPage;
|
|
||||||
int m_GamePage;
|
int m_GamePage;
|
||||||
int m_PrevGamePage;
|
|
||||||
int m_Popup;
|
int m_Popup;
|
||||||
int m_ActivePage;
|
int m_ActivePage;
|
||||||
bool m_ShowStart;
|
bool m_ShowStart;
|
||||||
|
|
Loading…
Reference in a new issue