Clear unknowns in LegoWorld (#1674)

This commit is contained in:
Fabian Neundorf
2025-08-25 21:13:10 +02:00
committed by GitHub
parent 34293a9c04
commit 190c040c96
23 changed files with 70 additions and 70 deletions

View File

@@ -1136,7 +1136,7 @@ void LegoAnimPresenter::VTable0x8c()
}
if (m_currentWorld) {
m_currentWorld->FUN_1001fda0(this);
m_currentWorld->AddPresenterIfInRange(this);
if (!m_compositePresenter || !m_compositePresenter->IsA("LegoAnimMMPresenter")) {
m_currentWorld->Add(this);
}
@@ -1148,7 +1148,7 @@ void LegoAnimPresenter::VTable0x8c()
void LegoAnimPresenter::VTable0x90()
{
if (m_currentWorld != NULL) {
m_currentWorld->FUN_1001fe90(this);
m_currentWorld->RemovePresenterFromBoundaries(this);
if (m_compositePresenter != NULL && m_compositePresenter->IsA("LegoAnimMMPresenter")) {
return;