mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8272 from ChillerDragon/pr_fix_snap_uuid_register
Fix ddnet ex snap item registration (closed #8271)
This commit is contained in:
commit
2cd877f0ce
|
@ -765,8 +765,9 @@ int CSnapshotBuilder::GetExtendedItemTypeIndex(int TypeId)
|
|||
}
|
||||
dbg_assert(m_NumExtendedItemTypes < MAX_EXTENDED_ITEM_TYPES, "too many extended item types");
|
||||
int Index = m_NumExtendedItemTypes;
|
||||
m_aExtendedItemTypes[Index] = TypeId;
|
||||
m_NumExtendedItemTypes++;
|
||||
m_aExtendedItemTypes[Index] = TypeId;
|
||||
AddExtendedItemType(Index);
|
||||
return Index;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue