mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Match MxObjectFactory::Create to 100%
This commit is contained in:
@@ -28,8 +28,8 @@ MxObjectFactory::MxObjectFactory()
|
|||||||
// OFFSET: LEGO1 0x100b12c0
|
// OFFSET: LEGO1 0x100b12c0
|
||||||
MxCore *MxObjectFactory::Create(const char *p_name)
|
MxCore *MxObjectFactory::Create(const char *p_name)
|
||||||
{
|
{
|
||||||
MxAtomId atom(p_name, LookupMode_Exact);
|
|
||||||
MxCore* object = NULL;
|
MxCore* object = NULL;
|
||||||
|
MxAtomId atom(p_name, LookupMode_Exact);
|
||||||
|
|
||||||
if (0) {}
|
if (0) {}
|
||||||
#define X(V) else if (this->m_id##V == atom) { object = new V; }
|
#define X(V) else if (this->m_id##V == atom) { object = new V; }
|
||||||
|
Reference in New Issue
Block a user