diff options
Diffstat (limited to 'engines/cge2/toolbar.cpp')
-rw-r--r-- | engines/cge2/toolbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/cge2/toolbar.cpp b/engines/cge2/toolbar.cpp index 23c6fd17c0..08a21da753 100644 --- a/engines/cge2/toolbar.cpp +++ b/engines/cge2/toolbar.cpp @@ -214,11 +214,10 @@ void CGE2Engine::initToolbar() { _vol[0] = _vga->_showQ->locate(kDvolRef); _vol[1] = _vga->_showQ->locate(kMvolRef); - // these sprites are loaded with SeqPtr==0 (why?!) if (_vol[0]) - _vol[0]->step((/*(int)SNDDrvInfo.VOL4.DL * */ _vol[0]->_seqCnt + _vol[0]->_seqCnt / 2) >> 4); + _vol[0]->step(_sfxVolume / kSoundSwtichRate); if (_vol[1]) - _vol[1]->step((/*(int)SNDDrvInfo.VOL4.ML * */ _vol[1]->_seqCnt + _vol[1]->_seqCnt / 2) >> 4); + _vol[1]->step(_musicVolume / kSoundSwtichRate); // TODO: Recheck these! ^ } |