isle/LEGO1/mxomni.cpp
2023-06-18 20:56:55 -07:00

16 lines
294 B
C++

#include "mxomni.h"
// OFFSET: LEGO1 0x100af0c0
MxResult MxOmni::Create(const MxOmniCreateParam &p)
{
if (p.CreateFlags().CreateTimer())
{
MxTimer *timer = new MxTimer();
this->m_Timer = timer;
if (timer == NULL)
return FAILURE;
}
return SUCCESS;
}