diff options
author | Robert Göffringmann | 2003-07-13 04:26:55 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-07-13 04:26:55 +0000 |
commit | 61b8b227c07fc8e0dae6790e18d29098d58cd995 (patch) | |
tree | d128e5f3fb6f3c50494ffddd61049f5f81f39cca | |
parent | 53ac8f62cf66edb45e69ab9bd8ad128c6741f806 (diff) | |
download | scummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.tar.gz scummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.tar.bz2 scummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.zip |
fix set-volume crash.
svn-id: r8964
-rw-r--r-- | sky/music/musicbase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sky/music/musicbase.cpp b/sky/music/musicbase.cpp index 327e216c3e..def06fd536 100644 --- a/sky/music/musicbase.cpp +++ b/sky/music/musicbase.cpp @@ -29,6 +29,7 @@ SkyMusicBase::SkyMusicBase(SkyDisk *pSkyDisk, OSystem *system) { _currentMusic = 0; _musicVolume = 127; _system = system; + _numberOfChannels = _currentMusic = 0; _mutex = _system->create_mutex(); } |