aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2013-05-01 01:58:35 +0300
committerFilippos Karapetis2013-05-01 02:01:23 +0300
commit0d53b7f6286ec96297dd2d2e21526be948f81c6c (patch)
treeeb20216d2e757355b60bce68fe9ed849edab379d /engines/saga
parentb8eaefbf8a7d5e428c2eb9761d176e8f03e39994 (diff)
downloadscummvm-rg350-0d53b7f6286ec96297dd2d2e21526be948f81c6c.tar.gz
scummvm-rg350-0d53b7f6286ec96297dd2d2e21526be948f81c6c.tar.bz2
scummvm-rg350-0d53b7f6286ec96297dd2d2e21526be948f81c6c.zip
SAGA: Fix some non-initialized variables in the Music class - CID 1003131
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/music.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp
index 0eebf3f175..812d967b9f 100644
--- a/engines/saga/music.cpp
+++ b/engines/saga/music.cpp
@@ -176,6 +176,10 @@ Music::Music(SagaEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
}
}
+ _trackNumber = 0;
+ _targetVolume = 0;
+ _currentVolumePercent = 0;
+
_digitalMusic = false;
}