mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 02:28:22 +00:00
Add nullptr check at CEntityKeyValues::AddConnectionDesc
This commit is contained in:
parent
84e8276611
commit
c97deff97f
@ -186,6 +186,8 @@ void CEntityKeyValues::AddConnectionDesc(
|
||||
desc->m_pszOverrideParam = m_pAllocator->AllocString( pszOverrideParam ? pszOverrideParam : "" );
|
||||
desc->m_flDelay = flDelay;
|
||||
desc->m_nTimesToFire = nTimesToFire;
|
||||
|
||||
if(kv3value)
|
||||
desc->m_KV3Value = *kv3value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user