2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 16:59:12 +00:00

Rename CWorldLayerState to CScriptLayerManager (this is it's actual name)

This commit is contained in:
2021-06-03 23:08:05 -07:00
parent 99d363d5df
commit 144af8cc15
13 changed files with 74 additions and 61 deletions

View File

@@ -894,7 +894,7 @@ void CGameArea::Validate(CStateManager& mgr) {
}
void CGameArea::LoadScriptObjects(CStateManager& mgr) {
CWorldLayerState& layerState = *mgr.WorldLayerState();
CScriptLayerManager& layerState = *mgr.WorldLayerState();
u32 layerCount = layerState.GetAreaLayerCount(x4_selfIdx);
std::vector<TEditorId> objIds;
for (u32 i = 0; i < layerCount; ++i) {