2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

Proper CObjectList imps; CGameLight, and CScriptAiJumpPoint imps

This commit is contained in:
2016-10-01 12:00:16 -07:00
parent 2dad2e2051
commit 06468c778c
17 changed files with 299 additions and 25 deletions

View File

@@ -9,7 +9,7 @@ CObjectList::CObjectList(EGameObjectList listEnum)
void CObjectList::AddObject(CEntity& entity)
{
if (IsQualified())
if (IsQualified(entity))
{
if (m_firstId != -1)
m_list[m_firstId].prev = entity.GetUniqueId() & 0x3ff;
@@ -67,6 +67,6 @@ CEntity* CObjectList::GetObjectById(TUniqueId uid)
return ent.entity;
}
bool CObjectList::IsQualified() {return true;}
bool CObjectList::IsQualified(const CEntity&) {return true;}
}