[Scummvm-cvs-logs] scummvm master -> 9a40cdc40d1a52dbdc8c73cdc1329768d7868586

clone2727 clone2727 at gmail.com
Wed Jan 30 04:26:46 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9a40cdc40d PEGASUS: Fix lid sequences missing a frame


Commit: 9a40cdc40d1a52dbdc8c73cdc1329768d7868586
    https://github.com/scummvm/scummvm/commit/9a40cdc40d1a52dbdc8c73cdc1329768d7868586
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2013-01-29T19:25:24-08:00

Commit Message:
PEGASUS: Fix lid sequences missing a frame

Changed paths:
    engines/pegasus/elements.cpp



diff --git a/engines/pegasus/elements.cpp b/engines/pegasus/elements.cpp
index c84d555..87fb69a 100644
--- a/engines/pegasus/elements.cpp
+++ b/engines/pegasus/elements.cpp
@@ -259,8 +259,8 @@ void FrameSequence::openFrameSequence() {
 	_frameTimes.clear();
 	for (uint32 i = 0; i < _numFrames; i++) {
 		TimeValue time = res->readUint32BE();
-		_duration += time;
 		_frameTimes.push_back(_duration);
+		_duration += time;
 	}
 
 	setScale(scale);






More information about the Scummvm-git-logs mailing list