whitespace

This commit is contained in:
Christian Semmler 2024-04-04 06:05:24 -04:00
parent ee2710f8f3
commit cb9a15e381

View File

@ -278,9 +278,11 @@ MxResult LegoExtraActor::WaitForAnimation()
{ {
LegoPathBoundary* oldBoundary = m_boundary; LegoPathBoundary* oldBoundary = m_boundary;
MxResult result = LegoPathActor::WaitForAnimation(); MxResult result = LegoPathActor::WaitForAnimation();
if (m_boundary != oldBoundary) { if (m_boundary != oldBoundary) {
MxU32 b = FALSE; MxU32 b = FALSE;
LegoAnimPresenterSet* set = m_boundary->GetUnknown0x64(); LegoAnimPresenterSet* set = m_boundary->GetUnknown0x64();
for (LegoAnimPresenterSet::iterator it = set->begin(); it != set->end(); it++) { for (LegoAnimPresenterSet::iterator it = set->begin(); it != set->end(); it++) {
undefined4 tmp; undefined4 tmp;
if ((*it)->VTable0x9c(tmp)) { if ((*it)->VTable0x9c(tmp)) {
@ -288,12 +290,14 @@ MxResult LegoExtraActor::WaitForAnimation()
break; break;
} }
} }
if (b) { if (b) {
m_unk0x0e = 1; m_unk0x0e = 1;
m_prevWorldSpeed = GetWorldSpeed(); m_prevWorldSpeed = GetWorldSpeed();
SetWorldSpeed(0); SetWorldSpeed(0);
} }
} }
return result; return result;
} }
@ -303,6 +307,7 @@ void LegoExtraActor::Restart()
if (m_unk0x0e != 0) { if (m_unk0x0e != 0) {
MxU32 b = FALSE; MxU32 b = FALSE;
LegoAnimPresenterSet* set = m_boundary->GetUnknown0x64(); LegoAnimPresenterSet* set = m_boundary->GetUnknown0x64();
for (LegoAnimPresenterSet::iterator it = set->begin(); it != set->end(); it++) { for (LegoAnimPresenterSet::iterator it = set->begin(); it != set->end(); it++) {
undefined4 tmp; undefined4 tmp;
if ((*it)->VTable0x9c(tmp)) { if ((*it)->VTable0x9c(tmp)) {
@ -310,6 +315,7 @@ void LegoExtraActor::Restart()
break; break;
} }
} }
if (!b) { if (!b) {
SetWorldSpeed(m_prevWorldSpeed); SetWorldSpeed(m_prevWorldSpeed);
m_unk0x0e = 0; m_unk0x0e = 0;