aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 7b026d49b0..0b76bf0f05 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1384,13 +1384,13 @@ void ScummEngine_v8::o8_kernelGetFunctions() {
}
break;
case 0xDD: // getGroupSfxVol
- push(_mixer->getVolumeForSoundType(SoundMixer::kSFXAudioDataType) / 2);
+ push(_mixer->getVolumeForSoundType(SoundMixer::kSFXSoundType) / 2);
break;
case 0xDE: // getGroupVoiceVol
- push(_mixer->getVolumeForSoundType(SoundMixer::kSpeechAudioDataType) / 2);
+ push(_mixer->getVolumeForSoundType(SoundMixer::kSpeechSoundType) / 2);
break;
case 0xDF: // getGroupMusicVol
- push(_mixer->getVolumeForSoundType(SoundMixer::kMusicAudioDataType) / 2);
+ push(_mixer->getVolumeForSoundType(SoundMixer::kMusicSoundType) / 2);
break;
case 0xE0: // readRegistryValue
{