mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
MADS: Initialize variables in Animation
This commit is contained in:
parent
91728aae9b
commit
25c153ff29
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user