From b94165abe3e78d19f2f1873ca65503332ae2b125 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 26 Sep 2013 23:43:54 +0300 Subject: [PATCH] NEVERHOOD: Fix uninitialized members of the AudioResourceManMusicItem class - CID 1022298 --- engines/neverhood/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/neverhood/sound.cpp b/engines/neverhood/sound.cpp index e9ebbadb7c4..3ea45491a74 100644 --- a/engines/neverhood/sound.cpp +++ b/engines/neverhood/sound.cpp @@ -629,7 +629,8 @@ bool AudioResourceManSoundItem::isPlaying() { AudioResourceManMusicItem::AudioResourceManMusicItem(NeverhoodEngine *vm, uint32 fileHash) : _vm(vm), _fileHash(fileHash), _terminate(false), _canRestart(false), - _volume(100), _panning(50), _start(false), _isFadingIn(false), _isFadingOut(false), _isPlaying(false) { + _volume(100), _panning(50), _start(false), _isFadingIn(false), _isFadingOut(false), _isPlaying(false), + _fadeVolume(0), _fadeVolumeStep(0) { }