This commit is contained in:
Christian Semmler 2024-01-28 11:42:35 -05:00
parent 23d33a63b0
commit bf6e644a75
2 changed files with 7 additions and 7 deletions

View File

@ -89,7 +89,7 @@ class LegoAnimClass : public LegoTree {
inline MxLong GetUnknown0x8() { return m_unk0x8; }
// private:
private:
MxLong m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
undefined4 m_unk0x10; // 0x10

View File

@ -139,12 +139,7 @@ void LegoAnimPresenter::StreamingTickle()
m_subscriber->DestroyChunk(chunk);
}
if (m_unk0x95 == 0) {
if (m_unk0x64->m_unk0x8 + m_action->GetStartTime() < m_action->GetElapsedTime()) {
m_unk0x95 = 1;
}
}
else {
if (m_unk0x95) {
ProgressTickleState(e_done);
if (m_compositePresenter) {
if (m_compositePresenter->IsA("LegoAnimMMPresenter")) {
@ -152,6 +147,11 @@ void LegoAnimPresenter::StreamingTickle()
}
}
}
else {
if (m_action->GetElapsedTime() > m_unk0x64->GetUnknown0x8() + m_action->GetStartTime()) {
m_unk0x95 = 1;
}
}
}
// STUB: LEGO1 0x1006b8c0