From a583d179caad1b47cb6769f3fad23f3d7357d083 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 22 Dec 2006 21:44:36 +0000 Subject: [PATCH] don't clamp iFrames when seeking --- stepmania/src/RageSound.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 3d918f9598..d953b5ba64 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -623,9 +623,7 @@ bool RageSound::SetPositionFrames( int iFrames ) return false; } - int iSeekFrames = max( iFrames, 0 ); - - int iRet = m_pSource->SetPosition( iSeekFrames ); + int iRet = m_pSource->SetPosition( iFrames ); if( iRet == -1 ) { Fail( m_pSource->GetError() );