Match MxObjectFactory::Create to 100%

This commit is contained in:
Christian Semmler 2023-10-14 09:02:44 -04:00
parent c66b6aa123
commit b92b2604d5
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -28,8 +28,8 @@ MxObjectFactory::MxObjectFactory()
// OFFSET: LEGO1 0x100b12c0
MxCore *MxObjectFactory::Create(const char *p_name)
{
MxAtomId atom(p_name, LookupMode_Exact);
MxCore* object = NULL;
MxAtomId atom(p_name, LookupMode_Exact);
if (0) {}
#define X(V) else if (this->m_id##V == atom) { object = new V; }