Ambiguous operator invocation for CUtlReference == NULL

Not sure why this is a thing, but it just is.
This commit is contained in:
Joshua 2025-03-14 17:18:36 -07:00
parent d07007fdfe
commit b7248bbac6
No known key found for this signature in database

View file

@ -2434,7 +2434,7 @@ FORCEINLINE Vector CParticleCollection::GetControlPointVelocityAtCurrentTime( in
FORCEINLINE bool CParticleCollection::IsValid( void ) const
{
return ( m_pDef != NULL && m_pDef->GetMaterial() );
return ( m_pDef != CUtlReference<CParticleSystemDefinition>(NULL) && m_pDef->GetMaterial() );
}