controllers done i guess
This commit is contained in:
@@ -325,6 +325,13 @@ C_BaseEntity **CEntitySystem::GetEntities()
|
||||
return m_pEntities;
|
||||
};
|
||||
|
||||
C_BaseEntity *CEntitySystem::GetEntityByIndex( int idx )
|
||||
{
|
||||
if (idx < 0 || idx >= MAX_EDICTS)
|
||||
return NULL;
|
||||
return m_pEntities[idx];
|
||||
}
|
||||
|
||||
C_BaseEntity *UTIL_GetLocalPlayer()
|
||||
{
|
||||
return s_pLocalEntity;
|
||||
|
||||
Reference in New Issue
Block a user