aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sword1/music.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sword1/music.cpp b/engines/sword1/music.cpp
index 41d47dc5d9..6e3a540b8e 100644
--- a/engines/sword1/music.cpp
+++ b/engines/sword1/music.cpp
@@ -209,7 +209,6 @@ int MusicHandle::readBuffer(int16 *buffer, const int numSamples) {
expectedSamples -= samplesReturned;
if ((expectedSamples > 0) && _audioSource->endOfData()) {
debug(2, "Music reached EOF");
- _audioSource->endOfData();
if (_looping) {
delete _audioSource; // recreate same source.
_audioSource = createAudioSource();