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

@@ -22,10 +22,10 @@ void CScriptMemoryRelay::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId obj
}
if (msg == EScriptObjectMessage::Deactivate) {
stateMgr.GetRelayTracker()->RemoveMsg(xc_editorId);
stateMgr.GetMailbox()->RemoveMsg(xc_editorId);
return;
} else if (msg == EScriptObjectMessage::Activate) {
stateMgr.GetRelayTracker()->AddMsg(xc_editorId);
stateMgr.GetMailbox()->AddMsg(xc_editorId);
if (!x34_25_skipSendActive) {
SendScriptMsgs(EScriptObjectState::Active, stateMgr, EScriptObjectMessage::None);
}