Lots of work to get MP2 repacking functional

This commit is contained in:
parax0
2016-11-07 03:07:00 -07:00
parent 040caca896
commit f6fd78af14
135 changed files with 677 additions and 1239 deletions

View File

@@ -217,16 +217,6 @@ void CScene::SetActiveArea(CGameArea *pArea)
}
}
CScriptLayer *pGenLayer = mpArea->GeneratedObjectsLayer();
if (pGenLayer)
{
for (u32 iObj = 0; iObj < pGenLayer->NumInstances(); iObj++)
{
CScriptObject *pObj = pGenLayer->InstanceByIndex(iObj);
CreateScriptNode(pObj);
}
}
// Ensure script nodes have valid positions + build light lists
for (CSceneIterator It(this, eScriptNode, true); It; ++It)
{