aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kgraphics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index e483b3b9ad..363ce81910 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -2992,8 +2992,7 @@ reg_t kAnimate(EngineState *s, int, int argc, reg_t *argv) {
// End of doit() recovery code
if (s->pic_is_new) { // Happens if DrawPic() is executed by a dynview (yes, that happens)
- kAnimate(s, FAKE_FUNCT_NR, argc, argv); /* Tail-recurse */
- return s->r_acc;
+ return kAnimate(s, FAKE_FUNCT_NR, argc, argv); /* Tail-recurse */
}
debugC(2, kDebugLevelGraphics, "Handling Dynviews (..step 9 inclusive):\n");