aboutsummaryrefslogtreecommitdiff
path: root/sky/music
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-13 04:26:55 +0000
committerRobert Göffringmann2003-07-13 04:26:55 +0000
commit61b8b227c07fc8e0dae6790e18d29098d58cd995 (patch)
treed128e5f3fb6f3c50494ffddd61049f5f81f39cca /sky/music
parent53ac8f62cf66edb45e69ab9bd8ad128c6741f806 (diff)
downloadscummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.tar.gz
scummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.tar.bz2
scummvm-rg350-61b8b227c07fc8e0dae6790e18d29098d58cd995.zip
fix set-volume crash.
svn-id: r8964
Diffstat (limited to 'sky/music')
-rw-r--r--sky/music/musicbase.cpp1
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();
}