aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/anim.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-24 17:59:19 +0000
committerFilippos Karapetis2009-09-24 17:59:19 +0000
commit782060545042d250635c9ebb4b52369ad46aac25 (patch)
tree39e2913f81b5da18d1a10031029db7dc79cd8c01 /engines/tinsel/anim.cpp
parentb4f1960318e3e0460e4fa00bb74d75ffda9f4e79 (diff)
downloadscummvm-rg350-782060545042d250635c9ebb4b52369ad46aac25.tar.gz
scummvm-rg350-782060545042d250635c9ebb4b52369ad46aac25.tar.bz2
scummvm-rg350-782060545042d250635c9ebb4b52369ad46aac25.zip
Oops, DoNextFrame() is supposed to return a value
svn-id: r44315
Diffstat (limited to 'engines/tinsel/anim.cpp')
-rw-r--r--engines/tinsel/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/anim.cpp b/engines/tinsel/anim.cpp
index 1ae419e51b..91187a98e8 100644
--- a/engines/tinsel/anim.cpp
+++ b/engines/tinsel/anim.cpp
@@ -168,7 +168,7 @@ SCRIPTSTATE DoNextFrame(ANIM *pAnim) {
// in case we missed something (highly unlikely though)
error("ANI_CALL opcode encountered! Please report this error to the ScummVM team");
//(*pAni[pAnim->scriptIndex].pFunc)(pAnim);
- return; // for compilers that don't support NORETURN
+ return ScriptSleep; // for compilers that don't support NORETURN
#if 0
// next opcode