aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-02-24 23:15:39 +0000
committerMax Horn2007-02-24 23:15:39 +0000
commitcafe61fec2495a5ff6596bc91ec0670d09e35931 (patch)
tree2319fb82acf4f80d0700e36f903db44e708f919d
parent8052e2ce259a9e92c31db1eb4972345c6846c377 (diff)
downloadscummvm-rg350-cafe61fec2495a5ff6596bc91ec0670d09e35931.tar.gz
scummvm-rg350-cafe61fec2495a5ff6596bc91ec0670d09e35931.tar.bz2
scummvm-rg350-cafe61fec2495a5ff6596bc91ec0670d09e35931.zip
cleanup
svn-id: r25834
-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();