From c2c250edc1b98b63cd73254a446d84cb12b23527 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 19 Dec 2003 17:07:37 +0000 Subject: 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 --- sword2/driver/d_sound.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3