mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-31 04:01:16 +00:00
Rename cursors
This commit is contained in:
parent
2738d72d2e
commit
111cd4ef29
@ -230,19 +230,19 @@ MxCore* LegoWorld::FUN_10021790(const MxAtomId& p_atom, MxS32 p_entityId)
|
|||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
MxPresenterListCursor presenterCursor0xb8(&m_controlPresenters);
|
MxPresenterListCursor controlPresentersCursor(&m_controlPresenters);
|
||||||
MxPresenter* presenter;
|
MxPresenter* presenter;
|
||||||
|
|
||||||
while (presenterCursor0xb8.Next(presenter)) {
|
while (controlPresentersCursor.Next(presenter)) {
|
||||||
MxDSAction* action = presenter->GetAction();
|
MxDSAction* action = presenter->GetAction();
|
||||||
|
|
||||||
if (action->GetAtomId() == p_atom && action->GetObjectId() == p_entityId)
|
if (action->GetAtomId() == p_atom && action->GetObjectId() == p_entityId)
|
||||||
return presenter;
|
return presenter;
|
||||||
}
|
}
|
||||||
|
|
||||||
MxPresenterListCursor presenterCursor0x80(&m_animPresenters);
|
MxPresenterListCursor animPresentersCursor(&m_animPresenters);
|
||||||
|
|
||||||
while (presenterCursor0x80.Next(presenter)) {
|
while (animPresentersCursor.Next(presenter)) {
|
||||||
MxDSAction* action = presenter->GetAction();
|
MxDSAction* action = presenter->GetAction();
|
||||||
|
|
||||||
if (action && action->GetAtomId() == p_atom && action->GetObjectId() == p_entityId)
|
if (action && action->GetAtomId() == p_atom && action->GetObjectId() == p_entityId)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user