[Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.68,1.69
Andrew Kurushin
h00ligan at users.sourceforge.net
Wed Oct 12 10:56:50 CEST 2005
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23534
Modified Files:
animation.cpp
Log Message:
fix #1324803 ITE: Freeze during storm
Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/animation.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- animation.cpp 6 Oct 2005 15:56:06 -0000 1.68
+++ animation.cpp 12 Oct 2005 17:56:07 -0000 1.69
@@ -340,6 +340,9 @@
_vm->_events->queue(&event);
}
return;
+ } else {
+ anim->currentFrame = 0;
+ anim->completed = 0;
}
}
@@ -348,9 +351,6 @@
linkAnim = getAnimation(anim->linkId);
debug(5, "Animation ended going to %d", anim->linkId);
-// linkAnim->cycles = anim->cycles;
-// linkAnim->currentFrame = 0;
-// linkAnim->completed = 0;
linkAnim->state = ANIM_PLAYING;
animId = anim->linkId;
frameTime = 0;
More information about the Scummvm-git-logs
mailing list