mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-05 23:58:19 +00:00
Send extended snap objects as is to Sixup
This commit is contained in:
parent
6e6e51e626
commit
f324647aec
|
@ -620,14 +620,16 @@ void *CSnapshotBuilder::NewItem(int Type, int ID, int Size)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool Extended = false;
|
||||
if(Type >= OFFSET_UUID)
|
||||
{
|
||||
Extended = true;
|
||||
Type = GetTypeFromIndex(GetExtendedItemTypeIndex(Type));
|
||||
}
|
||||
|
||||
CSnapshotItem *pObj = (CSnapshotItem *)(m_aData + m_DataSize);
|
||||
|
||||
if(m_Sixup)
|
||||
if(m_Sixup && !Extended)
|
||||
{
|
||||
if(Type >= 0)
|
||||
Type = Obj_SixToSeven(Type);
|
||||
|
|
Loading…
Reference in a new issue