aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/animation_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/animation_control.cpp')
-rw-r--r--engines/zvision/animation_control.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/zvision/animation_control.cpp b/engines/zvision/animation_control.cpp
index 66eefd7ce6..3f9a2e9cc7 100644
--- a/engines/zvision/animation_control.cpp
+++ b/engines/zvision/animation_control.cpp
@@ -71,9 +71,6 @@ AnimationControl::~AnimationControl() {
}
bool AnimationControl::process(uint32 deltaTimeInMillis) {
- if (!_enabled) {
- return false;
- }
bool finished = false;
@@ -253,7 +250,6 @@ bool AnimationControl::process(uint32 deltaTimeInMillis) {
// Then disable the control. DON'T delete it. It can be re-used
if (finished) {
_engine->getScriptManager()->setStateValue(_animationKey, 2);
- disable();
_currentLoop = 0;
}