diff --git a/LEGO1/buildingentity.cpp b/LEGO1/buildingentity.cpp index 87fcf6ae..fc150153 100644 --- a/LEGO1/buildingentity.cpp +++ b/LEGO1/buildingentity.cpp @@ -5,6 +5,11 @@ // OFFSET: LEGO1 0x10014e20 BuildingEntity::BuildingEntity() { + // this->m_vec1.m_data = this->m_vec1.storage; + // this->m_vec2.m_data = this->m_vec2.storage; + // this->m_vec3.m_data = this->m_vec3.storage; + this->m_mxEntityId = -1; + Reset(); NotificationManager()->Register(this); } diff --git a/LEGO1/mxentity.h b/LEGO1/mxentity.h index 44afd9c4..d3f22c84 100644 --- a/LEGO1/mxentity.h +++ b/LEGO1/mxentity.h @@ -28,8 +28,10 @@ class MxEntity : public MxCore } virtual MxResult SetEntityId(MxS32 p_id, const MxAtomId &p_atom); // vtable+0x14 -private: +public: MxS32 m_mxEntityId; // 0x8 + +protected: MxAtomId m_atom; // 0xc };