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) {