From 9a40cdc40d1a52dbdc8c73cdc1329768d7868586 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 29 Jan 2013 22:25:24 -0500 Subject: PEGASUS: Fix lid sequences missing a frame --- engines/pegasus/elements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/pegasus') diff --git a/engines/pegasus/elements.cpp b/engines/pegasus/elements.cpp index c84d555444..87fb69a557 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); -- cgit v1.2.3