copy error: break, not continue

This commit is contained in:
Glenn Maynard
2006-12-22 05:59:23 +00:00
parent cd74aab240
commit 3554fdeac0
+1 -1
View File
@@ -368,7 +368,7 @@ int RageSoundReader_Chain::Read( char *pBuffer, int iFrames )
if( iGotFrames < 0 ) if( iGotFrames < 0 )
{ {
iFramesRead = iGotFrames; iFramesRead = iGotFrames;
continue; break;
} }
mix.SetWriteOffset( iFramesRead * pSound->GetNumChannels() ); mix.SetWriteOffset( iFramesRead * pSound->GetNumChannels() );