aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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