mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match
This commit is contained in:
parent
2dcf46d147
commit
481737ce5a
@ -1166,13 +1166,15 @@ MxBool Infocenter::VTable0x64()
|
|||||||
// FUNCTION: LEGO1 0x10071030
|
// FUNCTION: LEGO1 0x10071030
|
||||||
void Infocenter::StartCredits()
|
void Infocenter::StartCredits()
|
||||||
{
|
{
|
||||||
|
MxPresenter* presenter;
|
||||||
|
|
||||||
while (!m_set0xa8.empty()) {
|
while (!m_set0xa8.empty()) {
|
||||||
MxCoreSet::iterator it = m_set0xa8.begin();
|
MxCoreSet::iterator it = m_set0xa8.begin();
|
||||||
MxCore* object = *it;
|
MxCore* object = *it;
|
||||||
m_set0xa8.erase(it);
|
m_set0xa8.erase(it);
|
||||||
|
|
||||||
if (object->IsA("MxPresenter")) {
|
if (object->IsA("MxPresenter")) {
|
||||||
MxPresenter* presenter = (MxPresenter*) object;
|
presenter = (MxPresenter*) object;
|
||||||
MxDSAction* action = presenter->GetAction();
|
MxDSAction* action = presenter->GetAction();
|
||||||
|
|
||||||
if (action) {
|
if (action) {
|
||||||
@ -1186,7 +1188,6 @@ void Infocenter::StartCredits()
|
|||||||
}
|
}
|
||||||
|
|
||||||
MxPresenterListCursor cursor(&m_controlPresenters);
|
MxPresenterListCursor cursor(&m_controlPresenters);
|
||||||
MxPresenter* presenter;
|
|
||||||
|
|
||||||
while (cursor.First(presenter)) {
|
while (cursor.First(presenter)) {
|
||||||
cursor.Detach();
|
cursor.Detach();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user