diff options
-rw-r--r-- | engines/voyeur/animation.cpp | 3 | ||||
-rw-r--r-- | engines/voyeur/files.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp index 8e4b7fb975..82cddc258f 100644 --- a/engines/voyeur/animation.cpp +++ b/engines/voyeur/animation.cpp @@ -38,6 +38,9 @@ RL2Decoder::RL2Decoder(Audio::Mixer::SoundType soundType) : _soundType(soundType _paletteStart = 0; _fileStream = nullptr; _soundFrameNumber = -1; + + _audioTrack = nullptr; + _videoTrack = nullptr; } RL2Decoder::~RL2Decoder() { diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp index 78dc121223..8205857b9d 100644 --- a/engines/voyeur/files.cpp +++ b/engines/voyeur/files.cpp @@ -743,10 +743,12 @@ RectResource::RectResource(int x1, int y1, int x2, int y2) { DisplayResource::DisplayResource() { _vm = NULL; + _flags = 0; } DisplayResource::DisplayResource(VoyeurEngine *vm) { _vm = vm; + _flags = 0; } void DisplayResource::sFillBox(int width, int height) { |