mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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)
|
||||
SetMenuPage(NewPage);
|
||||
else
|
||||
{
|
||||
m_PrevGamePage = m_GamePage;
|
||||
m_GamePage = NewPage;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -3092,7 +3089,6 @@ const CMenus::CMenuImage *CMenus::FindMenuImage(const char *pName)
|
|||
|
||||
void CMenus::SetMenuPage(int NewPage)
|
||||
{
|
||||
m_PrevMenuPage = m_MenuPage;
|
||||
m_MenuPage = NewPage;
|
||||
if(NewPage >= PAGE_INTERNET && NewPage <= PAGE_KOG)
|
||||
g_Config.m_UiPage = NewPage;
|
||||
|
|
|
@ -271,9 +271,7 @@ protected:
|
|||
void ClearCustomItems(int CurTab);
|
||||
|
||||
int m_MenuPage;
|
||||
int m_PrevMenuPage;
|
||||
int m_GamePage;
|
||||
int m_PrevGamePage;
|
||||
int m_Popup;
|
||||
int m_ActivePage;
|
||||
bool m_ShowStart;
|
||||
|
|
Loading…
Reference in a new issue