Minor adjustments

This commit is contained in:
Christian Semmler 2024-01-15 15:12:44 -05:00
parent 7d848155ed
commit ec695ee83c
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ void LegoWorldPresenter::VTable0x60(MxPresenter* p_presenter)
MxCompositePresenter::VTable0x60(p_presenter);
MxDSAction* action = p_presenter->GetAction();
if (action->GetDuration() != -1 && (action->GetFlags() & 1) == 0) {
if (action->GetDuration() != -1 && (action->GetFlags() & MxDSAction::Flag_Looping) == 0) {
if (!action->IsA("MxDSMediaAction")) {
return;
}

View File

@ -116,6 +116,7 @@ class MxPresenter : public MxCore {
__declspec(dllexport) virtual void Enable(MxBool p_enable); // vtable+0x54
MxEntity* CreateEntity(const char* p_name);
void SendToCompositePresenter(MxOmni*);
MxBool IsEnabled();
inline MxS32 GetCurrentTickleState() const { return this->m_currentTickleState; }
@ -127,7 +128,6 @@ class MxPresenter : public MxCore {
{
m_compositePresenter = p_compositePresenter;
}
void SendToCompositePresenter(MxOmni*);
protected:
__declspec(dllexport) void Init();