if the snapshots are in a different order than predicted SPEC_FREEVIEW was forced although a different ID is desired in NETOBJTYPE_SPECTATORINFO.
This commit is contained in:
c0d3d3v 2022-04-08 16:38:37 +02:00
parent 0e003f54ee
commit 97d2de7af8
No known key found for this signature in database
GPG key ID: 068AF680530DFF31

View file

@ -1234,7 +1234,6 @@ void CGameClient::OnNewSnapshot()
if(pInfo->m_Team == TEAM_SPECTATORS)
{
m_Snap.m_SpecInfo.m_Active = true;
m_Snap.m_SpecInfo.m_SpectatorID = SPEC_FREEVIEW;
}
}
@ -1263,7 +1262,6 @@ void CGameClient::OnNewSnapshot()
if(Item.m_ID == m_Snap.m_LocalClientID && (m_aClients[Item.m_ID].m_Paused || m_aClients[Item.m_ID].m_Spec))
{
m_Snap.m_SpecInfo.m_Active = true;
m_Snap.m_SpecInfo.m_SpectatorID = SPEC_FREEVIEW;
}
}
}