diff options
author | Max Horn | 2003-07-03 22:52:17 +0000 |
---|---|---|
committer | Max Horn | 2003-07-03 22:52:17 +0000 |
commit | 097a2bc9d1a2fb0a774e48d833fe3fd8fc8ccfa3 (patch) | |
tree | 9e3e1e772ad9f37fc847aaf63f60bdfcd0ff57ee | |
parent | 16031e1b00727efde1b06002adedacdb35d3759b (diff) | |
download | scummvm-rg350-097a2bc9d1a2fb0a774e48d833fe3fd8fc8ccfa3.tar.gz scummvm-rg350-097a2bc9d1a2fb0a774e48d833fe3fd8fc8ccfa3.tar.bz2 scummvm-rg350-097a2bc9d1a2fb0a774e48d833fe3fd8fc8ccfa3.zip |
fixed warning
svn-id: r8730
-rw-r--r-- | sky/sound.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp index 6cd1ead09f..be8f22ff60 100644 --- a/sky/sound.cpp +++ b/sky/sound.cpp @@ -1086,8 +1086,9 @@ void SkySound::playSound(uint16 sound, uint16 volume) { uint16 dataLoop = (_sfxInfo[(sound << 3) | 6] << 8) | _sfxInfo[(sound << 3) | 7]; byte flags = SoundMixer::FLAG_UNSIGNED; - /*if (dataSize == dataLoop) - flags |= SoundMixer::FLAG_LOOP;*/ + if (dataSize == dataLoop) { + //flags |= SoundMixer::FLAG_LOOP; + } if (_ingameSound > 0) _mixer->stop(_ingameSound - 1); _mixer->setVolume(volume); |