Match StreamingTickle

This commit is contained in:
Christian Semmler 2024-01-15 14:30:14 -05:00
parent c105741b91
commit d762132273
2 changed files with 3 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class LegoAnimClass : public LegoAnimClassBase {
virtual void VTable0xc() override; // vtable+0x0c
virtual MxResult VTable0x10(LegoMemoryStream* p_stream, MxS32); // vtable+0x10
undefined4 m_unk0x8; // 0x08
MxLong m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
undefined4 m_unk0x10; // 0x10
undefined4 m_unk0x14; // 0x14

View File

@ -136,7 +136,8 @@ void LegoAnimPresenter::StartingTickle()
void LegoAnimPresenter::StreamingTickle()
{
if (m_subscriber->CurrentChunk()) {
m_subscriber->DestroyChunk(m_subscriber->NextChunk());
MxStreamChunk* chunk = m_subscriber->NextChunk();
m_subscriber->DestroyChunk(chunk);
}
if (m_unk0x95 == 0) {