mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
Fix CKeyValues3Table::CopyFrom not updating m_nCount
This commit is contained in:
parent
cad44b1d80
commit
25144b8afa
@ -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