This commit is contained in:
Joshua Peisach 2024-01-17 11:30:20 -05:00
parent 67e2703dd7
commit 582fd88709
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -24,11 +24,11 @@ void LegoHideAnimPresenter::Init()
void LegoHideAnimPresenter::Destroy(MxBool p_fromDestructor) void LegoHideAnimPresenter::Destroy(MxBool p_fromDestructor)
{ {
m_criticalSection.Enter(); m_criticalSection.Enter();
if(!this->m_unk0xc0) if (!this->m_unk0xc0)
delete this->m_unk0xc0; delete this->m_unk0xc0;
Init(); Init();
m_criticalSection.Leave(); m_criticalSection.Leave();
// if (!p_fromDestructor) // if (!p_fromDestructor)
// TODO: another function // TODO: another function
} }