From 097a2bc9d1a2fb0a774e48d833fe3fd8fc8ccfa3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 3 Jul 2003 22:52:17 +0000 Subject: fixed warning svn-id: r8730 --- sky/sound.cpp | 5 +++-- 1 file 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); -- cgit v1.2.3