mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Only show ingame hint in Game tab
Since it looks ugly overlaid over the other tabs
This commit is contained in:
parent
d1463c62d1
commit
c4463a3848
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue