mirror of https://github.com/PrimeDecomp/prime.git
Fix all source build
This commit is contained in:
parent
6c3ef97059
commit
9dee8d8642
|
@ -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])) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue