MxEntity: make MxAtomId a member

This commit is contained in:
Joshua Peisach 2023-07-12 19:51:00 -04:00
parent 17d25899c4
commit 110aed9002
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 1 additions and 4 deletions

View File

@ -3,13 +3,10 @@
// OFFSET: LEGO1 0x1001d190 // OFFSET: LEGO1 0x1001d190
MxEntity::MxEntity() MxEntity::MxEntity()
{ {
// FIXME: This won't match because of m_atom. How would it access m_internal?
this->m_atom = NULL;
this->m_mxEntityId = -1; this->m_mxEntityId = -1;
} }
// OFFSET: LEGO1 0x1000c110 // OFFSET: LEGO1 0x1000c110
MxEntity::~MxEntity() MxEntity::~MxEntity()
{ {
*this->m_atom;
} }

View File

@ -26,7 +26,7 @@ class MxEntity : public MxCore
} }
private: private:
MxS32 m_mxEntityId; // 0x8 MxS32 m_mxEntityId; // 0x8
MxAtomId* m_atom; // 0xc MxAtomId m_atom; // 0xc
}; };
#endif // MXENTITY_H #endif // MXENTITY_H