fix losing the last buffer of sound from a sample

This commit is contained in:
Glenn Maynard
2003-06-26 22:24:42 +00:00
parent c898370ed0
commit 6fd93db405
@@ -123,9 +123,6 @@ int SoundReader_SDL_Sound::Read(char *buf, unsigned len)
int cnt = Sound_Decode(Sample);
if(Sample->flags & SOUND_SAMPLEFLAG_EOF)
return bytes_read; /* EOF */
if(Sample->flags & SOUND_SAMPLEFLAG_ERROR)
{
SetError(Sound_GetError());