From dc413f8ebca38d1a5ff396f942db6a6ab0f5f329 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 9 Oct 2002 17:44:32 +0000 Subject: [PATCH] Fixed crash in editor after playback --- stepmania/src/HoldJudgement.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/HoldJudgement.cpp b/stepmania/src/HoldJudgement.cpp index 3a8951eac0..b21f097b0c 100644 --- a/stepmania/src/HoldJudgement.cpp +++ b/stepmania/src/HoldJudgement.cpp @@ -66,6 +66,7 @@ void HoldJudgement::SetHoldJudgement( HoldNoteScore hns ) if( hns == HNS_NG ) { // falling down + m_sprJudgement.StopTweening(); m_sprJudgement.SetY( -10 ); m_sprJudgement.SetZoom( 1.0f ); m_sprJudgement.BeginTweening( m_fDisplayTime ); @@ -74,6 +75,7 @@ void HoldJudgement::SetHoldJudgement( HoldNoteScore hns ) else // hns == HNS_OK { // zooming out + m_sprJudgement.StopTweening(); m_sprJudgement.SetZoom( 1.5f ); m_sprJudgement.BeginTweening( m_fDisplayTime/3.0f ); m_sprJudgement.SetTweenZoom( 1.0f );