diff options
author | James Brown | 2002-03-07 08:11:48 +0000 |
---|---|---|
committer | James Brown | 2002-03-07 08:11:48 +0000 |
commit | 4eb99938bf7b638cf1797445a9545e17d47ea882 (patch) | |
tree | 34f2ad808166e7fc441fb52a790e352a43eddd0c /scummvm.cpp | |
parent | f5ff443424e1316cdcd6fed036a9dab97a1bbade (diff) | |
download | scummvm-rg350-4eb99938bf7b638cf1797445a9545e17d47ea882.tar.gz scummvm-rg350-4eb99938bf7b638cf1797445a9545e17d47ea882.tar.bz2 scummvm-rg350-4eb99938bf7b638cf1797445a9545e17d47ea882.zip |
Fixed music volume control for some games.
svn-id: r3680
Diffstat (limited to 'scummvm.cpp')
-rw-r--r-- | scummvm.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scummvm.cpp b/scummvm.cpp index 5c854e371a..246323b02c 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -483,8 +483,9 @@ void Scumm::parseCommandLine(int argc, char **argv) { if (*(s+1) == '\0') goto ShowHelpAndExit; SoundEngine *se = (SoundEngine*)_soundEngine; - if (se) - se->set_music_volume(atoi(s+1)); + + if (se) + se->set_music_volume(atoi(s+1)); goto NextArg; } default: |