Fix all source build

Former-commit-id: 9dee8d8642
This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-10 11:15:40 +02:00
parent 64b3014f99
commit cc9228e108
2 changed files with 2 additions and 2 deletions

View File

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

View File

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