From 3e9e23768d29f1fb4f66c586c76fb313e0676a9a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 12 Oct 2011 22:27:55 +1100 Subject: TSAGE: Fix some animate() calls for ANIM_MODE_7 that were missing a parameter --- engines/tsage/ringworld/ringworld_scenes1.cpp | 2 +- engines/tsage/ringworld/ringworld_scenes3.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/tsage/ringworld/ringworld_scenes1.cpp b/engines/tsage/ringworld/ringworld_scenes1.cpp index 8227e2a884..4d9d565705 100644 --- a/engines/tsage/ringworld/ringworld_scenes1.cpp +++ b/engines/tsage/ringworld/ringworld_scenes1.cpp @@ -2607,7 +2607,7 @@ void Scene90::stripCallback(int v) { Scene90 *scene = (Scene90 *)g_globals->_sceneManager._scene; if (v == 1) - scene->_object2.animate(ANIM_MODE_7, NULL); + scene->_object2.animate(ANIM_MODE_7, 0, NULL); else if (v == 2) scene->_object2.animate(ANIM_MODE_NONE); } diff --git a/engines/tsage/ringworld/ringworld_scenes3.cpp b/engines/tsage/ringworld/ringworld_scenes3.cpp index 7103a48ed9..81190aea7b 100644 --- a/engines/tsage/ringworld/ringworld_scenes3.cpp +++ b/engines/tsage/ringworld/ringworld_scenes3.cpp @@ -453,14 +453,14 @@ void Scene2000::stripCallback(int v) { switch (v) { case 0: _object9.setStrip(3); - _object9.animate(ANIM_MODE_7, NULL); + _object9.animate(ANIM_MODE_7, 0, NULL); _object10.setStrip(6); _object10.setFrame(1); _object10.animate(ANIM_MODE_5, NULL); break; case 1: _object10.setStrip(5); - _object10.animate(ANIM_MODE_7, NULL); + _object10.animate(ANIM_MODE_7, 0, NULL); _object9.setStrip(4); _object9.setFrame(1); _object9.animate(ANIM_MODE_5, NULL); @@ -1921,7 +1921,7 @@ void Scene2100::stripCallback(int v) { switch (v) { case 1: _object4._numFrames = 4; - _object4.animate(ANIM_MODE_7, NULL); + _object4.animate(ANIM_MODE_7, 0, NULL); break; case 2: _object4.animate(ANIM_MODE_NONE, NULL); -- cgit v1.2.3