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; }