aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/journal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/journal.cpp')
-rw-r--r--engines/queen/journal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/journal.cpp b/engines/queen/journal.cpp
index aaaa0cdb42..36f59fecb6 100644
--- a/engines/queen/journal.cpp
+++ b/engines/queen/journal.cpp
@@ -321,7 +321,7 @@ void Journal::handleMouseDown(int x, int y) {
drawConfigPanel();
break;
case ZN_MUSIC_VOLUME:
- val = (x - 136) * QueenEngine::MAX_MUSIC_VOLUME / (266 - 136);
+ val = (x - 136) * Audio::Mixer::kMaxMixerVolume / (266 - 136);
_vm->sound()->setVolume(val);
drawConfigPanel();
break;
@@ -453,7 +453,7 @@ void Journal::drawConfigPanel() {
_vm->checkOptionSettings();
drawSlideBar(_vm->talkSpeed(), QueenEngine::MAX_TEXT_SPEED, BOB_TALK_SPEED, 164, FRAME_BLUE_PIN);
- drawSlideBar(_vm->sound()->getVolume(), QueenEngine::MAX_MUSIC_VOLUME, BOB_MUSIC_VOLUME, 177, FRAME_GREEN_PIN);
+ drawSlideBar(_vm->sound()->getVolume(), Audio::Mixer::kMaxMixerVolume, BOB_MUSIC_VOLUME, 177, FRAME_GREEN_PIN);
drawCheckBox(_vm->sound()->sfxOn(), BOB_SFX_TOGGLE, 221, 155, FRAME_CHECK_BOX);
drawCheckBox(_vm->sound()->speechOn(), BOB_SPEECH_TOGGLE, 158, 155, FRAME_CHECK_BOX);