2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 06:06:11 +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

@@ -345,7 +345,7 @@ void CScriptSpecialFunction::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId
if (msg == EScriptObjectMessage::Decrement || msg == EScriptObjectMessage::Increment) {
if (x1bc_areaSaveId != -1 && x1c0_layerIdx != -1) {
TAreaId aId = mgr.GetWorld()->GetAreaIdForSaveId(x1bc_areaSaveId);
std::shared_ptr<CWorldLayerState> worldLayerState;
std::shared_ptr<CScriptLayerManager> worldLayerState;
if (aId != kInvalidAreaId) {
worldLayerState = mgr.WorldLayerState();
} else {