mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fixes
This commit is contained in:
parent
23d33a63b0
commit
bf6e644a75
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user