diff options
author | Norbert Lange | 2009-07-19 16:11:05 +0000 |
---|---|---|
committer | Norbert Lange | 2009-07-19 16:11:05 +0000 |
commit | f051e7e9ab9e2880937c1a1c0097778e8018fabd (patch) | |
tree | b3be42c5bcc7e77155faa340af595d3e8509ce32 /sound/mods | |
parent | 5952977ed051330990a64f537a7dfaec68ab6c20 (diff) | |
download | scummvm-rg350-f051e7e9ab9e2880937c1a1c0097778e8018fabd.tar.gz scummvm-rg350-f051e7e9ab9e2880937c1a1c0097778e8018fabd.tar.bz2 scummvm-rg350-f051e7e9ab9e2880937c1a1c0097778e8018fabd.zip |
use own soundhandle as the ones in Kyra::Sound seem to be used for voices (and might get killed)
svn-id: r42620
Diffstat (limited to 'sound/mods')
-rw-r--r-- | sound/mods/maxtrax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp index b09e2ea732..6b1701d63e 100644 --- a/sound/mods/maxtrax.cpp +++ b/sound/mods/maxtrax.cpp @@ -339,7 +339,7 @@ bool MaxTrax::playSong(int songIndex, bool loop, int advance) { // Songs are special markers in the score for (; advance > 0; --advance) { // TODO - check for boundaries - for(; cev->command != 0xFF && (cev->command != 0xA0 || (cev->stopTime >> 8) != 0x00); ++cev) + for (; cev->command != 0xFF && (cev->command != 0xA0 || (cev->stopTime >> 8) != 0x00); ++cev) ; // no end_command or special_command + end } _playerCtx.nextEvent = cev; |