diff options
author | Max Horn | 2004-12-27 23:46:55 +0000 |
---|---|---|
committer | Max Horn | 2004-12-27 23:46:55 +0000 |
commit | 53ff19eccb567835d00d460e9d21c2b2ed1eddd0 (patch) | |
tree | 16b1dcd0795158df7efbd226bdec4ceb76f29a64 /sword1 | |
parent | f9b1e4118c5b3350528087f982c2fa9d34a365de (diff) | |
download | scummvm-rg350-53ff19eccb567835d00d460e9d21c2b2ed1eddd0.tar.gz scummvm-rg350-53ff19eccb567835d00d460e9d21c2b2ed1eddd0.tar.bz2 scummvm-rg350-53ff19eccb567835d00d460e9d21c2b2ed1eddd0.zip |
Use SoundMixer::kMaxMixerVolume
svn-id: r16350
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/sword1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index 4bafa81544..d48f25edee 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -165,8 +165,8 @@ int SwordEngine::init(GameDetector &detector) { _resMan = new ResMan("swordres.rif"); debug(5, "Starting object manager"); _objectMan = new ObjectMan(_resMan); - _mixer->setVolumeForSoundType(SoundMixer::kSFXAudioDataType, 256); - _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, 256); + _mixer->setVolumeForSoundType(SoundMixer::kSFXAudioDataType, SoundMixer::kMaxMixerVolume); + _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, SoundMixer::kMaxMixerVolume); _mouse = new Mouse(_system, _resMan, _objectMan); _screen = new Screen(_system, _resMan, _objectMan); _music = new Music(_system, _mixer); |