diff --git a/sdk/Windows/SMXPanelAnimation.cpp b/sdk/Windows/SMXPanelAnimation.cpp index 31c4b9d..af4d18e 100644 --- a/sdk/Windows/SMXPanelAnimation.cpp +++ b/sdk/Windows/SMXPanelAnimation.cpp @@ -310,7 +310,7 @@ void SMXPanelAnimation::Load(const vector &frames, int pane if(marker.color[3] == 0xFF && marker.color[0] >= 0x80) { // We shouldn't see more than one of these. If we do, use the first. - if(m_iLoopFrame != -1) + if(m_iLoopFrame == -1) m_iLoopFrame = frame_no; }