fixed warning
svn-id: r8730
This commit is contained in:
parent
16031e1b00
commit
097a2bc9d1
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue