Merge pull request #217 from nzyuzin/DDRace64

Fix #216
This commit is contained in:
Dennis Felsing 2015-06-14 17:26:18 +02:00
commit 3d8b42a397

View file

@ -153,7 +153,7 @@ void CStatboard::RenderGlobalStats()
}
// sort blue players by score after
if(m_pClient->m_Snap.m_pGameInfoObj->m_GameFlags&GAMEFLAG_TEAMS)
if(m_pClient->m_Snap.m_pGameInfoObj && m_pClient->m_Snap.m_pGameInfoObj->m_GameFlags&GAMEFLAG_TEAMS)
{
for(int i = 0; i < MAX_CLIENTS; i++)
{