From 782060545042d250635c9ebb4b52369ad46aac25 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 24 Sep 2009 17:59:19 +0000 Subject: Oops, DoNextFrame() is supposed to return a value svn-id: r44315 --- engines/tinsel/anim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tinsel/anim.cpp') 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 -- cgit v1.2.3