mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match
This commit is contained in:
parent
72eb49b70d
commit
706291d8c6
@ -86,7 +86,7 @@ class LegoEntityListCursor : public MxPtrListCursor<LegoEntity> {
|
||||
// FUNCTION: LEGO1 0x1001f2b0
|
||||
// MxListCursor<LegoEntity *>::~MxListCursor<LegoEntity *>
|
||||
|
||||
// FUNCTION: LEGO1 0x1001edc6
|
||||
// FUNCTION: LEGO1 0x1001f300
|
||||
// LegoEntityListCursor::~LegoEntityListCursor
|
||||
|
||||
// TEMPLATE: LEGO1 0x100207d0
|
||||
|
||||
@ -203,8 +203,9 @@ MxCore* LegoWorld::FUN_10021790(MxAtomId& p_atom, MxS32 p_entityId)
|
||||
|
||||
if (core->IsA("MxPresenter")) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user