mp/src/game/server/ai_activity.cpp
const char *CAI_BaseNPC::GetActivityName(int actID) 
{
	if ( actID == -1 )
		return "ACT_INVALID";

	// m_pActivitySR only contains public activities, ActivityList_NameForIndex() has them all
	const char *name = ActivityList_NameForIndex(actID);	

	if( !name )
	{
		AssertOnce( !"CAI_BaseNPC::GetActivityName() returning NULL!" );
	}

	return name;
}
//-----------------------------------------------------------------------------
// Purpose: Given and activity ID, return the activity name
//-----------------------------------------------------------------------------
Given and activity ID, return the activity name
Given and activity ID return the activity name
const char *CAI_BaseNPC::GetActivityName(int actID) 
{
	if ( actID == -1 )
		return "ACT_INVALID";
	const char *name = ActivityList_NameForIndex(actID);	
	if( !name )
	{
		AssertOnce( !"CAI_BaseNPC::GetActivityName() returning NULL!" );
	}
	return name;
}
const char * CAI_BaseNPC :: GetActivityName ( int actID ) { if ( actID == -1 ) return " " ; const char * name = ActivityList_NameForIndex ( actID ) ; if ( ! name ) { AssertOnce ( ! " " ) ; } return name ; }
Purpose: Given and activity ID, return the activity name
Purpose : Given and activity ID return the activity name
// m_pActivitySR only contains public activities, ActivityList_NameForIndex() has them all