diff options
author | Marisa-Chan | 2014-09-10 16:17:30 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-09-10 16:17:30 +0700 |
commit | 39c3a26bfa50aae3b189773a75fe77cbebd17064 (patch) | |
tree | 51d7a54058ba4f694c8121f67d4fda73025d88a1 /engines | |
parent | 6ae414fbde8421cc66a58a08ac3c8b9ca85f6c73 (diff) | |
download | scummvm-rg350-39c3a26bfa50aae3b189773a75fe77cbebd17064.tar.gz scummvm-rg350-39c3a26bfa50aae3b189773a75fe77cbebd17064.tar.bz2 scummvm-rg350-39c3a26bfa50aae3b189773a75fe77cbebd17064.zip |
ZVISION: Fix setStateFlag->setStateValue in HotMov control
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/scripting/controls/hotmov_control.cpp | 4 |
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(); } |