From c4463a38486d39bb1634d27cfd1cfb3cc249b822 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Thu, 6 Oct 2022 18:38:31 +0200 Subject: [PATCH] Only show ingame hint in Game tab Since it looks ugly overlaid over the other tabs --- src/game/client/components/menus.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 6096845b1..b86cce8b7 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1377,20 +1377,34 @@ int CMenus::Render() if(Client()->State() != IClient::STATE_OFFLINE) { if(m_GamePage == PAGE_GAME) + { RenderGame(MainView); + RenderIngameHint(); + } else if(m_GamePage == PAGE_PLAYERS) + { RenderPlayers(MainView); + } else if(m_GamePage == PAGE_SERVER_INFO) + { RenderServerInfo(MainView); + } else if(m_GamePage == PAGE_NETWORK) + { RenderInGameNetwork(MainView); + } else if(m_GamePage == PAGE_GHOST) + { RenderGhost(MainView); + } else if(m_GamePage == PAGE_CALLVOTE) + { RenderServerControl(MainView); + } else if(m_GamePage == PAGE_SETTINGS) + { RenderSettings(MainView); - RenderIngameHint(); + } } else if(m_MenuPage == PAGE_NEWS) {