NEVERHOOD: Fix uninitialized members of the AudioResourceManMusicItem class - CID 1022298

This commit is contained in:
Filippos Karapetis 2013-09-26 23:43:54 +03:00
parent f05e43fae6
commit b94165abe3

View File

@ -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) {
}