Match StartAction functions, remove NextFragment (#610)

This commit is contained in:
Christian Semmler
2024-03-01 13:07:07 -05:00
committed by GitHub
parent ba8744ef8f
commit fb6eed9bff
6 changed files with 42 additions and 55 deletions

View File

@@ -107,13 +107,9 @@ void LegoControlManager::FUN_100292e0()
LegoNotifyListCursor cursor(&m_notifyList);
MxCore* target;
// The usual cursor.Next() loop doesn't match here, even though
// the logic is the same. It does match when "deconstructed" into
// the following Head(), Current() and NextFragment() calls,
// but this seems unlikely to be the original code.
cursor.Head();
while (cursor.Current(target)) {
cursor.NextFragment();
cursor.Next();
target->Notify(m_event);
}
}