diff --git a/src/game/client/components/chillerbot/terminalui/menus.cpp b/src/game/client/components/chillerbot/terminalui/menus.cpp index 8940e8ab931..afc28427fd3 100644 --- a/src/game/client/components/chillerbot/terminalui/menus.cpp +++ b/src/game/client/components/chillerbot/terminalui/menus.cpp @@ -159,10 +159,6 @@ void CTerminalUI::RenderServerList() str_copy(aTab, "lan", sizeof(aTab)); else if(g_Config.m_UiPage == CMenus::PAGE_FAVORITES) str_copy(aTab, "favorites", sizeof(aTab)); - else if(g_Config.m_UiPage == CMenus::PAGE_DDNET) - str_copy(aTab, "ddnet", sizeof(aTab)); - else if(g_Config.m_UiPage == CMenus::PAGE_KOG) - str_copy(aTab, "KoG", sizeof(aTab)); int mx = getmaxx(g_LogWindow.m_pCursesWin); int my = getmaxy(g_LogWindow.m_pCursesWin); int offY = 5; diff --git a/src/game/client/components/chillerbot/terminalui/terminalui.cpp b/src/game/client/components/chillerbot/terminalui/terminalui.cpp index c09c92ddcf8..56f9b136838 100644 --- a/src/game/client/components/chillerbot/terminalui/terminalui.cpp +++ b/src/game/client/components/chillerbot/terminalui/terminalui.cpp @@ -1310,7 +1310,7 @@ void CTerminalUI::OnStateChange(int NewState, int OldState) void CTerminalUI::SetServerBrowserPage(int NewPage) { - if(NewPage >= CMenus::PAGE_INTERNET && NewPage <= CMenus::PAGE_KOG) + if(NewPage >= CMenus::PAGE_INTERNET && NewPage <= CMenus::PAGE_FAVORITES) { m_SelectedServer = 0; g_Config.m_UiPage = NewPage; @@ -1320,10 +1320,6 @@ void CTerminalUI::SetServerBrowserPage(int NewPage) ServerBrowser()->Refresh(CServerBrowser::TYPE_LAN); else if(g_Config.m_UiPage == CMenus::PAGE_FAVORITES) ServerBrowser()->Refresh(CServerBrowser::TYPE_FAVORITES); - else if(g_Config.m_UiPage == CMenus::PAGE_DDNET) - ServerBrowser()->Refresh(CServerBrowser::TYPE_DDNET); - else if(g_Config.m_UiPage == CMenus::PAGE_KOG) - ServerBrowser()->Refresh(CServerBrowser::TYPE_KOG); gs_NeedLogDraw = true; m_NewInput = true; }