don't show player specific debug info when the debug graphs are shown to prevent overlapping

This commit is contained in:
oy 2010-09-12 12:55:37 +02:00
parent 16657faf55
commit fa9c8ee77f

View file

@ -17,7 +17,7 @@
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;
float Width = 300*Graphics()->ScreenAspect();