This commit is contained in:
Christian Semmler 2024-01-26 10:03:30 -05:00
parent 72eb49b70d
commit 706291d8c6
2 changed files with 3 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class LegoEntityListCursor : public MxPtrListCursor<LegoEntity> {
// FUNCTION: LEGO1 0x1001f2b0 // FUNCTION: LEGO1 0x1001f2b0
// MxListCursor<LegoEntity *>::~MxListCursor<LegoEntity *> // MxListCursor<LegoEntity *>::~MxListCursor<LegoEntity *>
// FUNCTION: LEGO1 0x1001edc6 // FUNCTION: LEGO1 0x1001f300
// LegoEntityListCursor::~LegoEntityListCursor // LegoEntityListCursor::~LegoEntityListCursor
// TEMPLATE: LEGO1 0x100207d0 // TEMPLATE: LEGO1 0x100207d0

View File

@ -203,8 +203,9 @@ MxCore* LegoWorld::FUN_10021790(MxAtomId& p_atom, MxS32 p_entityId)
if (core->IsA("MxPresenter")) { if (core->IsA("MxPresenter")) {
MxPresenter* presenter = (MxPresenter*) *it; MxPresenter* presenter = (MxPresenter*) *it;
MxDSAction* action = presenter->GetAction();
if (presenter->GetAction()->GetAtomId() == p_atom && presenter->GetAction()->GetObjectId() == p_entityId) if (action->GetAtomId() == p_atom && action->GetObjectId() == p_entityId)
return *it; return *it;
} }
} }