From 9dee8d864242c74b12ae4944f7402ea1bec0bf57 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Thu, 10 Nov 2022 11:15:40 +0200 Subject: [PATCH] Fix all source build --- src/MetroidPrime/ScriptObjects/CScriptMazeNode.cpp | 2 +- src/MetroidPrime/ScriptObjects/CScriptRandomRelay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MetroidPrime/ScriptObjects/CScriptMazeNode.cpp b/src/MetroidPrime/ScriptObjects/CScriptMazeNode.cpp index 71103c88..33e67184 100644 --- a/src/MetroidPrime/ScriptObjects/CScriptMazeNode.cpp +++ b/src/MetroidPrime/ScriptObjects/CScriptMazeNode.cpp @@ -441,7 +441,7 @@ void CScriptMazeNode::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, C } } } - CObjectList& list = mgr.GetObjectListById(kOL_All); + CObjectList& list = mgr.ObjectListById(kOL_All); for (int objIdx = list.GetFirstObjectIndex(); objIdx != -1; objIdx = list.GetNextObjectIndex(objIdx)) { if (CScriptMazeNode* node = TCastToPtr< CScriptMazeNode >(list[objIdx])) { diff --git a/src/MetroidPrime/ScriptObjects/CScriptRandomRelay.cpp b/src/MetroidPrime/ScriptObjects/CScriptRandomRelay.cpp index 1f0a541f..adbea63e 100644 --- a/src/MetroidPrime/ScriptObjects/CScriptRandomRelay.cpp +++ b/src/MetroidPrime/ScriptObjects/CScriptRandomRelay.cpp @@ -41,7 +41,7 @@ void CScriptRandomRelay::SendLocalScriptMsgs(EScriptObjectState state, CStateMan rstl::vector< SConnection >::const_iterator conn = GetConnectionList().begin(); for (; conn != GetConnectionList().end(); ++conn) { if (conn->x0_state == kSS_Zero) { - CObjectList& objList = stateMgr.GetObjectListById(kOL_All); + CObjectList& objList = stateMgr.ObjectListById(kOL_All); CStateManager::TIdListResult list = stateMgr.GetIdListForScript(conn->x8_objId); if (!(list.first == list.second)) { for (CStateManager::TIdList::const_iterator it = list.first; it != list.second; ++it) {