mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove item invalidation logging for unknown UUIDs
This caused lags due to too much output during gameplay, demo playback and demo cutting. Fixes #1643.
This commit is contained in:
parent
f3b1135770
commit
756aab339b
|
@ -970,7 +970,7 @@ void CGameClient::OnNewSnapshot()
|
|||
void *pData = Client()->SnapGetItem(IClient::SNAP_CURRENT, Index, &Item);
|
||||
if(m_NetObjHandler.ValidateObj(Item.m_Type, pData, Item.m_DataSize) != 0)
|
||||
{
|
||||
if(g_Config.m_Debug)
|
||||
if(g_Config.m_Debug && Item.m_Type != UUID_UNKNOWN)
|
||||
{
|
||||
char aBuf[256];
|
||||
str_format(aBuf, sizeof(aBuf), "invalidated index=%d type=%d (%s) size=%d id=%d", Index, Item.m_Type, m_NetObjHandler.GetObjName(Item.m_Type), Item.m_DataSize, Item.m_ID);
|
||||
|
|
Loading…
Reference in a new issue