mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
don't show player specific debug info when the debug graphs are shown to prevent overlapping
This commit is contained in:
parent
16657faf55
commit
fa9c8ee77f
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
void CDebugHud::RenderNetCorrections()
|
void CDebugHud::RenderNetCorrections()
|
||||||
{
|
{
|
||||||
if(!g_Config.m_Debug || !m_pClient->m_Snap.m_pLocalCharacter || !m_pClient->m_Snap.m_pLocalPrevCharacter)
|
if(!g_Config.m_Debug || g_Config.m_DbgGraphs || !m_pClient->m_Snap.m_pLocalCharacter || !m_pClient->m_Snap.m_pLocalPrevCharacter)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float Width = 300*Graphics()->ScreenAspect();
|
float Width = 300*Graphics()->ScreenAspect();
|
||||||
|
|
Loading…
Reference in a new issue