[Scummvm-cvs-logs] SF.net SVN: scummvm:[44238] scummvm/trunk/engines/sci/engine/kgraphics.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Sep 21 23:37:47 CEST 2009
Revision: 44238
http://scummvm.svn.sourceforge.net/scummvm/?rev=44238&view=rev
Author: fingolfin
Date: 2009-09-21 21:37:47 +0000 (Mon, 21 Sep 2009)
Log Message:
-----------
SCI: Change kAnimate to actually tail recurse
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-09-21 21:37:12 UTC (rev 44237)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-09-21 21:37:47 UTC (rev 44238)
@@ -2992,8 +2992,7 @@
// 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");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list