From 7285d7cbd9f1c09b27b7e03a68e293b51dc63ee0 Mon Sep 17 00:00:00 2001 From: Regan Green Date: Wed, 4 Oct 2023 09:38:05 -0400 Subject: [PATCH] Fix MxDSAction::SetLoopCount --- LEGO1/mxdsaction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxdsaction.h b/LEGO1/mxdsaction.h index d06e7f15..eb7afb99 100644 --- a/LEGO1/mxdsaction.h +++ b/LEGO1/mxdsaction.h @@ -59,7 +59,7 @@ class MxDSAction : public MxDSObject inline MxU16 GetExtraLength() const { return m_extraLength; } inline MxLong GetStartTime() const { return m_startTime; } inline MxS32 GetLoopCount() { return m_loopCount; } - inline void SetLoopCount(MxS32 p_loopCount) { m_loopCount = m_loopCount; } + inline void SetLoopCount(MxS32 p_loopCount) { m_loopCount = p_loopCount; } inline const MxVector3Data &GetLocation() const { return m_location; } inline void SetOmni(MxOmni *p_omni) { m_omni = p_omni; }