Fix #35 (Audio.bgm_play does not honour playback position)

This commit is contained in:
Struma 2020-12-17 05:50:11 -05:00 committed by Roza
parent c8f86f6ffa
commit 2580a6cb63

View file

@ -367,10 +367,8 @@ void ALStream::streamData()
if (threadTermReq) if (threadTermReq)
return; return;
if (needsRewind) //if (needsRewind)
{
source->seekToOffset(startOffset); source->seekToOffset(startOffset);
}
for (int i = 0; i < STREAM_BUFS; ++i) for (int i = 0; i < STREAM_BUFS; ++i)
{ {