mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Match StartAction functions, remove NextFragment (#610)
This commit is contained in:

committed by
GitHub

parent
ba8744ef8f
commit
fb6eed9bff
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user