mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:07:41 +00:00
CScriptTrigger work
This commit is contained in:
@@ -799,9 +799,7 @@ void CGameArea::PostConstructArea()
|
||||
++secIt;
|
||||
}
|
||||
|
||||
x12c_postConstructed->x10c0_areaObjs.reset(new CObjectList(EGameObjectList::Invalid));
|
||||
x12c_postConstructed->x10c0_areaObjs->m_areaIdx = x4_selfIdx;
|
||||
|
||||
x12c_postConstructed->x10c0_areaObjs.reset(new CAreaObjectList(x4_selfIdx));
|
||||
x12c_postConstructed->x10c4_areaFog.reset(new CAreaFog());
|
||||
|
||||
xf0_24_postConstructed = true;
|
||||
@@ -920,4 +918,9 @@ void CGameArea::SetAreaAttributes(const CScriptAreaAttributes* areaAttributes)
|
||||
x12c_postConstructed->x1128_worldLightingLevel = areaAttributes->GetWorldLightingLevel();
|
||||
}
|
||||
|
||||
bool CGameArea::CAreaObjectList::IsQualified(const CEntity& ent)
|
||||
{
|
||||
return (ent.GetAreaId() == x200c_areaIdx);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user