From ec695ee83c9a7cf0662bac1b68dcc899e346694e Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 15 Jan 2024 15:12:44 -0500 Subject: [PATCH] Minor adjustments --- LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp | 2 +- LEGO1/omni/include/mxpresenter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp index bc6528b0..d501e191 100644 --- a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp @@ -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; } diff --git a/LEGO1/omni/include/mxpresenter.h b/LEGO1/omni/include/mxpresenter.h index a2b083ab..eddcc4f2 100644 --- a/LEGO1/omni/include/mxpresenter.h +++ b/LEGO1/omni/include/mxpresenter.h @@ -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();