aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/scripting/controls/hotmov_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scripting/controls/hotmov_control.cpp b/engines/zvision/scripting/controls/hotmov_control.cpp
index 8ffc3392be..b39292f1c5 100644
--- a/engines/zvision/scripting/controls/hotmov_control.cpp
+++ b/engines/zvision/scripting/controls/hotmov_control.cpp
@@ -51,7 +51,7 @@ HotMovControl::HotMovControl(ZVision *engine, uint32 key, Common::SeekableReadSt
_num_cycles = 0;
_num_frames = 0;
- _engine->getScriptManager()->setStateFlag(_key, 0);
+ _engine->getScriptManager()->setStateValue(_key, 0);
// Loop until we find the closing brace
Common::String line = stream.readLine();
@@ -129,7 +129,7 @@ bool HotMovControl::process(uint32 deltaTimeInMillis) {
if (_cycle != _num_cycles)
renderFrame(_cur_frame);
else
- _engine->getScriptManager()->setStateFlag(_key, 2);
+ _engine->getScriptManager()->setStateValue(_key, 2);
_frame_time = _animation->frameTime();
}