mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Fix CKeyValues3Table::CopyFrom not updating m_nCount
This commit is contained in:
parent
5bbfc0792e
commit
5c78f32f48
@ -1811,6 +1811,8 @@ void CKeyValues3Table::CopyFrom( KeyValues3 *parent, const CKeyValues3Table* src
|
||||
members_base[i]->CopyFrom( src_members_base[i] );
|
||||
}
|
||||
|
||||
m_nCount = new_size;
|
||||
|
||||
if ( new_size >= 128 )
|
||||
EnableFastSearch();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user