CPointEntity
Jump to navigation
Jump to search
![]() |
---|
CPointEntity |
![]() |
CPointEntity is a code class in Source.

Entities inheriting this class are never rendered as 3D models and are not allowed to modify its mins/maxs via keyvalues.
bool CPointEntity::KeyValue( const char *szKeyName, const char *szValue )
{
if ( FStrEq( szKeyName, "mins" ) || FStrEq( szKeyName, "maxs" ) )
{
Warning("Warning! Can't specify mins/maxs for point entities! (%s)\n", GetClassname() );
return true;
}
return BaseClass::KeyValue( szKeyName, szValue );
}