Send extended snap objects as is to Sixup

This commit is contained in:
Learath 2020-08-04 20:09:37 +03:00
parent 6e6e51e626
commit f324647aec

View file

@ -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);