Discard unnesaccery changes

This commit is contained in:
Дядя Женя 2020-12-16 07:59:45 +03:00
parent f4b8033056
commit 9d77b8f716
2 changed files with 0 additions and 6 deletions

View file

@ -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;

View file

@ -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;