mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
SCI: Change kAnimate to actually tail recurse
svn-id: r44238
This commit is contained in:
parent
537c886aeb
commit
43da40996b
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user