diff options
author | Filippos Karapetis | 2009-09-24 17:24:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 17:24:42 +0000 |
commit | a983c88e37196d56a70125a19bb7fc84cbd84fee (patch) | |
tree | ee683134390d07cc9094146eab0e92e5182a6f08 /engines/tinsel | |
parent | 5028d5a68bba66d3b66df6c4acef3f01356cf049 (diff) | |
download | scummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.tar.gz scummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.tar.bz2 scummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.zip |
Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
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) { |