diff options
Diffstat (limited to 'engines/tinsel')
-rw-r--r-- | engines/tinsel/anim.cpp | 1 | ||||
-rw-r--r-- | engines/tinsel/polygons.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/tinsel/anim.cpp b/engines/tinsel/anim.cpp index 897b436d20..1ae419e51b 100644 --- a/engines/tinsel/anim.cpp +++ b/engines/tinsel/anim.cpp @@ -168,6 +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 #if 0 // next opcode diff --git a/engines/tinsel/polygons.cpp b/engines/tinsel/polygons.cpp index 0a45bc0d9f..3ee88c3112 100644 --- a/engines/tinsel/polygons.cpp +++ b/engines/tinsel/polygons.cpp @@ -1273,7 +1273,7 @@ HPOLYGON FirstPathPoly(void) { return i; } error("FirstPathPoly() - no PATH polygons"); - //return NOPOLY; + return NOPOLY; // for compilers that don't support NORETURN } HPOLYGON GetPolyHandle(int i) { |