aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/animation.cpp')
-rw-r--r--engines/mads/animation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index b0b69b946a..96b9cfb90e 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -316,7 +316,7 @@ void Animation::startAnimation(int abortTimers) {
_currentFrame = 0;
_oldFrameEntry = 0;
_nextFrameTimer = _vm->_game->_scene._frameStartTime;
- _abortTimers = abortTimers;
+ _trigger = abortTimers;
_abortTimersMode = _vm->_game->_abortTimersMode2;
_vm->_game->_scene._action._activeAction = _actionDetails;
@@ -530,8 +530,8 @@ void Animation::update() {
_currentFrame++;
if (_currentFrame >= (int)_miscEntries.size()) {
// Animation is complete
- if (_abortTimers != 0) {
- _vm->_game->_abortTimers = _abortTimers;
+ if (_trigger != 0) {
+ _vm->_game->_trigger = _trigger;
_vm->_game->_abortTimersMode = _abortTimersMode;
if (_abortTimersMode != ABORTMODE_1) {