aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-05-28 00:51:48 +0200
committerStrangerke2014-05-28 00:51:48 +0200
commit25c153ff29baca89f5b594b70a8ff949d8edb89d (patch)
tree23c7c4d43647d7ca8c2a440430545c23cb1e9964
parent91728aae9bc0f3fc1308c8d5bbe06afe4a3afc3d (diff)
downloadscummvm-rg350-25c153ff29baca89f5b594b70a8ff949d8edb89d.tar.gz
scummvm-rg350-25c153ff29baca89f5b594b70a8ff949d8edb89d.tar.bz2
scummvm-rg350-25c153ff29baca89f5b594b70a8ff949d8edb89d.zip
MADS: Initialize variables in Animation
-rw-r--r--engines/mads/animation.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index 0f98cb52e6..6af8a9ae5f 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -164,6 +164,17 @@ Animation::Animation(MADSEngine *vm, Scene *scene) : _vm(vm), _scene(scene) {
_resetFlag = false;
_messageCtr = 0;
_skipLoad = false;
+ _freeFlag = false;
+ _unkIndex = -1;
+ _nextFrameTimer = 0;
+ _nextScrollTimer = 0;
+ _trigger = 0;
+ _triggerMode = SEQUENCE_TRIGGER_PREPARE;
+ _actionDetails._verbId = VERB_NONE;
+ _actionDetails._objectNameId = -1;
+ _actionDetails._indirectObjectId = -1;
+ _currentFrame = 0;
+ _oldFrameEntry = 0;
}
Animation::~Animation() {