From 93e0f8f03bc88420bc9f0862a92c72fede0664ab Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 24 May 2016 19:49:38 +0200 Subject: AGOS: Fix uninitialized variables --- engines/agos/animation.cpp | 1 + engines/agos/feeble.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index 83682d567b..123e5805dd 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -57,6 +57,7 @@ MoviePlayer::MoviePlayer(AGOSEngine_Feeble *vm) memset(baseName, 0, sizeof(baseName)); _ticks = 0; + _bgSoundStream = nullptr; } MoviePlayer::~MoviePlayer() { diff --git a/engines/agos/feeble.cpp b/engines/agos/feeble.cpp index bfd11fa8ea..91772621ad 100644 --- a/engines/agos/feeble.cpp +++ b/engines/agos/feeble.cpp @@ -39,6 +39,7 @@ AGOSEngine_Feeble::AGOSEngine_Feeble(OSystem *system, const AGOSGameDescription _moviePlayer = 0; _vgaCurSpritePriority = 0; _mouseToggle = false; + _opcodesFeeble = nullptr; } AGOSEngine_Feeble::~AGOSEngine_Feeble() { -- cgit v1.2.3