mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Implement/match RegistrationBook::HandlePathStruct (#1084)
This commit is contained in:
committed by
GitHub
parent
9ab3954bbb
commit
30e9e43cda
@@ -80,8 +80,8 @@ void LegoEntity::SetWorldTransform(const Vector3& p_location, const Vector3& p_d
|
||||
// FUNCTION: LEGO1 0x100107e0
|
||||
MxResult LegoEntity::Create(MxDSAction& p_dsAction)
|
||||
{
|
||||
m_mxEntityId = p_dsAction.GetObjectId();
|
||||
m_atom = p_dsAction.GetAtomId();
|
||||
m_entityId = p_dsAction.GetObjectId();
|
||||
m_atomId = p_dsAction.GetAtomId();
|
||||
SetWorld();
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
@@ -689,7 +689,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
if (world) {
|
||||
MxDSAction action;
|
||||
action.SetObjectId(1);
|
||||
action.SetAtomId(world->GetAtom());
|
||||
action.SetAtomId(world->GetAtomId());
|
||||
LegoOmni::GetInstance()->Start(&action);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -608,7 +608,7 @@ MxCore* LegoWorld::Find(const MxAtomId& p_atom, MxS32 p_entityId)
|
||||
LegoEntity* entity;
|
||||
|
||||
while (entityCursor.Next(entity)) {
|
||||
if (entity->GetAtom() == p_atom && entity->GetEntityId() == p_entityId) {
|
||||
if (entity->GetAtomId() == p_atom && entity->GetEntityId() == p_entityId) {
|
||||
return entity;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user