diff --git a/LEGO1/mxdsobject.h b/LEGO1/mxdsobject.h index 9064fc81..9333c452 100644 --- a/LEGO1/mxdsobject.h +++ b/LEGO1/mxdsobject.h @@ -35,7 +35,7 @@ class MxDSObject : public MxCore { // OFFSET: LEGO1 0x10005530 inline virtual void SetAtomId(MxAtomId p_atomId) { this->m_atomId = p_atomId; } // vtable+20; - inline const MxAtomId& GetAtomId() { return this->m_atomId; } + inline MxAtomId& GetAtomId() { return this->m_atomId; } inline MxU32 GetObjectId() { return this->m_objectId; } inline MxS16 GetUnknown24() { return this->m_unk24; }