mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-05-01 16:53:34 -04:00
Match MxObjectFactory::Create to 100%
This commit is contained in:
parent
c66b6aa123
commit
b92b2604d5
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue