2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 02:46:09 +00:00

Rename CRelayTracker back to CScriptMailbox

This commit is contained in:
2021-06-03 14:39:49 -07:00
parent 4df59e3e39
commit 0f92b8d8c5
9 changed files with 41 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
#include "Runtime/World/CScriptMemoryRelay.hpp"
#include "Runtime/CRelayTracker.hpp"
#include "Runtime/CScriptMailbox.hpp"
#include "Runtime/CStateManager.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
@@ -22,10 +22,10 @@ void CScriptMemoryRelay::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId obj
}
if (msg == EScriptObjectMessage::Deactivate) {
stateMgr.GetRelayTracker()->RemoveRelay(xc_editorId);
stateMgr.GetRelayTracker()->RemoveMsg(xc_editorId);
return;
} else if (msg == EScriptObjectMessage::Activate) {
stateMgr.GetRelayTracker()->AddRelay(xc_editorId);
stateMgr.GetRelayTracker()->AddMsg(xc_editorId);
if (!x34_25_skipSendActive) {
SendScriptMsgs(EScriptObjectState::Active, stateMgr, EScriptObjectMessage::None);
}