aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-04 19:50:58 +0000
committerMartin Kiewitz2010-01-04 19:50:58 +0000
commit39cf9576af9a3340e750f27d7c23475e3d5c636f (patch)
treed9a069fe252464f41f3d6e75ea5826a46838b863 /engines/sci
parentb9c8e6edb82ff398ecc699bd964143cd430c9c89 (diff)
downloadscummvm-rg350-39cf9576af9a3340e750f27d7c23475e3d5c636f.tar.gz
scummvm-rg350-39cf9576af9a3340e750f27d7c23475e3d5c636f.tar.bz2
scummvm-rg350-39cf9576af9a3340e750f27d7c23475e3d5c636f.zip
SCI/newmusic: initialize _volume in constructor
svn-id: r46984
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/midiparser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sfx/midiparser.cpp b/engines/sci/sfx/midiparser.cpp
index 1b7565935a..82b1c89a77 100644
--- a/engines/sci/sfx/midiparser.cpp
+++ b/engines/sci/sfx/midiparser.cpp
@@ -51,6 +51,8 @@ MidiParser_SCI::MidiParser_SCI(SciVersion soundVersion) :
_ppqn = 1;
setTempo(16667);
+ _volume = 0;
+
_signalSet = false;
_signalToSet = 0;
}