Improve FUN_10061010, other fixes (#1634)

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2025-07-19 16:28:35 +02:00
committed by GitHub
parent 29d7a5df89
commit 73d9ef1d80
7 changed files with 90 additions and 20 deletions

View File

@@ -244,11 +244,11 @@ inline MxBool MxListCursor<T>::Next()
template <class T>
inline MxBool MxListCursor<T>::Next(T& p_obj)
{
if (!m_match) {
m_match = m_list->m_first;
if (m_match) {
m_match = m_match->GetNext();
}
else {
m_match = m_match->GetNext();
m_match = m_list->m_first;
}
if (m_match) {