aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-19 17:07:37 +0000
committerTorbjörn Andersson2003-12-19 17:07:37 +0000
commitc2c250edc1b98b63cd73254a446d84cb12b23527 (patch)
tree8fd2693ba2c5cc7e056e144543c02243d09c7e00
parentdc0c7bf845be37df7a069f3f1610ab5c42f4bff4 (diff)
downloadscummvm-rg350-c2c250edc1b98b63cd73254a446d84cb12b23527.tar.gz
scummvm-rg350-c2c250edc1b98b63cd73254a446d84cb12b23527.tar.bz2
scummvm-rg350-c2c250edc1b98b63cd73254a446d84cb12b23527.zip
Fixed bug with looping music. It must have been there all along, but maybe
the recent mixer changes made it more audible. Or maybe I just didn't listen until now. svn-id: r11763
-rw-r--r--sword2/driver/d_sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 696c85a36b..7bee4eceaf 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -85,6 +85,7 @@ int16 MusicHandle::read() {
if (_filePos >= _fileEnd) {
_firstTime = true;
_filePos = _fileStart;
+ fpMus.seek(_filePos, SEEK_SET);
}
} else {
// Fade out at the end of the music. Is this really desirable