[Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.39,1.40

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Wed Jan 12 04:53:10 CET 2005


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14781

Modified Files:
	animation.cpp 
Log Message:
Slight adjustment to previous commit.


Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/animation.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- animation.cpp	12 Jan 2005 11:07:56 -0000	1.39
+++ animation.cpp	12 Jan 2005 12:51:56 -0000	1.40
@@ -287,14 +287,14 @@
 		anim_id = link_anim_id;
 		frame_time = 0;
 	} else {
-		frame_time = anim->frame_time;
+		frame_time = anim->frame_time + vector_time;
 	}
 
 	event.type = ONESHOT_EVENT;
 	event.code = ANIM_EVENT;
 	event.op = EVENT_FRAME;
 	event.param = anim_id;
-	event.time = frame_time + vector_time;
+	event.time = frame_time;
 
 	_vm->_events->queue(&event);
 





More information about the Scummvm-git-logs mailing list