UTIL_IsValidEntity

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png

UTIL_IsValidEntity is a UTIL function that determines if an entity pointer is a null pointer. If the entity pointer is a null pointer, then the function returns false; otherwise it returns true.

Declaration

bool UTIL_IsValidEntity( CBaseEntity *pEnt )