From f324647aecdc24af2010ce60baf6d6e15e5d87cf Mon Sep 17 00:00:00 2001 From: Learath Date: Tue, 4 Aug 2020 20:09:37 +0300 Subject: [PATCH] Send extended snap objects as is to Sixup --- src/engine/shared/snapshot.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/shared/snapshot.cpp b/src/engine/shared/snapshot.cpp index 21eee1616..23124e3f0 100644 --- a/src/engine/shared/snapshot.cpp +++ b/src/engine/shared/snapshot.cpp @@ -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);