mirror of
https://github.com/isledecomp/isle.git
synced 2025-03-27 23:20:32 -04:00
Match MxControlPresenter::HasTickleStatePassed
(#1412)
This commit is contained in:
parent
51fc69e49f
commit
67c71cb9e6
1 changed files with 8 additions and 3 deletions
|
@ -296,9 +296,14 @@ void MxControlPresenter::Enable(MxBool p_enable)
|
|||
// FUNCTION: LEGO1 0x100448a0
|
||||
MxBool MxControlPresenter::HasTickleStatePassed(TickleState p_tickleState)
|
||||
{
|
||||
MxCompositePresenterList::iterator it = m_list.begin();
|
||||
for (MxS16 i = m_unk0x4e; i > 0; i--, it++) {
|
||||
}
|
||||
MxCompositePresenterList::const_iterator it = m_list.begin();
|
||||
|
||||
#ifdef COMPAT_MODE
|
||||
advance(it, m_unk0x4e);
|
||||
#else
|
||||
// Uses forward iterator logic instead of bidrectional for some reason.
|
||||
_Advance(it, m_unk0x4e, forward_iterator_tag());
|
||||
#endif
|
||||
|
||||
return (*it)->HasTickleStatePassed(p_tickleState);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue