diff options
-rw-r--r-- | engines/gnap/sound.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gnap/sound.cpp b/engines/gnap/sound.cpp index 103a649e59..a4a59d7390 100644 --- a/engines/gnap/sound.cpp +++ b/engines/gnap/sound.cpp @@ -57,7 +57,9 @@ void SoundMan::stopSound(int resourceId) { } void SoundMan::setSoundVolume(int resourceId, int volume) { - // TODO + const int index = find(resourceId); + int realVol = volume * 2.55; + _vm->_mixer->setChannelVolume(_items[index]._handle, realVol); } bool SoundMan::isSoundPlaying(int resourceId) { |