This commit is contained in:
Ryozuki 2018-10-02 14:36:55 +02:00
parent e21a08f700
commit 0a91fef8c8

View file

@ -1234,8 +1234,8 @@ void CGameClient::OnNewSnapshot()
// update foe state
m_aClients[i].m_Foe = !(i == m_Snap.m_LocalClientID
|| !m_Snap.m_paPlayerInfos[i]
|| !Foes()->IsFriend(m_aClients[i].m_aName, m_aClients[i].m_aClan, true));
|| !m_Snap.m_paPlayerInfos[i]
|| !Foes()->IsFriend(m_aClients[i].m_aName, m_aClients[i].m_aClan, true));
}
// sort player infos by name