aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/elements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/elements.cpp')
-rw-r--r--engines/pegasus/elements.cpp2
1 files changed, 1 insertions, 1 deletions
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);