aboutsummaryrefslogtreecommitdiff
path: root/saga/ite_introproc.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-12-28 03:44:07 +0000
committerEugene Sandulenko2004-12-28 03:44:07 +0000
commit03ed4dd4df23b8c6962419df7212dd863ead6664 (patch)
tree4a9fc0d96cedb4c4e1afe8a0d0130620908466f1 /saga/ite_introproc.cpp
parent48e70acbaa96a8bf6fe4147a21596f2be7524794 (diff)
downloadscummvm-rg350-03ed4dd4df23b8c6962419df7212dd863ead6664.tar.gz
scummvm-rg350-03ed4dd4df23b8c6962419df7212dd863ead6664.tar.bz2
scummvm-rg350-03ed4dd4df23b8c6962419df7212dd863ead6664.zip
o Fixed animation playback
o Implemented almost all animation opcodes svn-id: r16352
Diffstat (limited to 'saga/ite_introproc.cpp')
-rw-r--r--saga/ite_introproc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/ite_introproc.cpp b/saga/ite_introproc.cpp
index 8af18ac39f..c92ad9bb0e 100644
--- a/saga/ite_introproc.cpp
+++ b/saga/ite_introproc.cpp
@@ -657,7 +657,7 @@ int Scene::ITEIntroValleyProc(int param, SCENE_INFO *scene_info) {
debug(0, "Beginning animation playback.");
// Begin title screen background animation
- _vm->_anim->setFlag(0, ANIM_LOOP);
+ _vm->_anim->setCycles(0, -1);
_vm->_anim->play(0, PALETTE_FADE_DURATION);
// Begin ITE title theme music
@@ -938,7 +938,7 @@ int Scene::ITEIntroFairePathProc(int param, SCENE_INFO *scene_info) {
event_delay = DISSOLVE_DURATION;
// Begin title screen background animation
- _vm->_anim->setFlag(0, ANIM_LOOP);
+ _vm->_anim->setCycles(0, -1);
_vm->_anim->play(0, event_delay);
// Queue game credits list