aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-05-24 19:49:38 +0200
committerStrangerke2016-05-24 19:49:38 +0200
commit93e0f8f03bc88420bc9f0862a92c72fede0664ab (patch)
tree86b30ff1cc8f2f2eb58ca232beb5787a9f8316ae
parentbba1af422fa6841981ab2d2dedf26613e28db207 (diff)
downloadscummvm-rg350-93e0f8f03bc88420bc9f0862a92c72fede0664ab.tar.gz
scummvm-rg350-93e0f8f03bc88420bc9f0862a92c72fede0664ab.tar.bz2
scummvm-rg350-93e0f8f03bc88420bc9f0862a92c72fede0664ab.zip
AGOS: Fix uninitialized variables
-rw-r--r--engines/agos/animation.cpp1
-rw-r--r--engines/agos/feeble.cpp1
2 files changed, 2 insertions, 0 deletions
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() {