aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/robot.cpp
diff options
context:
space:
mode:
authorLars Skovlund2011-01-24 10:57:19 +0000
committerLars Skovlund2011-01-24 10:57:19 +0000
commit3b61cb57d495a56933aed79f4d170180107b9c15 (patch)
tree797f6f55639193203ccf2e42cb9c82a421128de5 /engines/sci/graphics/robot.cpp
parentd706ab3ee8acaab4244c3baada96974fba349294 (diff)
downloadscummvm-rg350-3b61cb57d495a56933aed79f4d170180107b9c15.tar.gz
scummvm-rg350-3b61cb57d495a56933aed79f4d170180107b9c15.tar.bz2
scummvm-rg350-3b61cb57d495a56933aed79f4d170180107b9c15.zip
SCI/Robot: Fix typo
svn-id: r55497
Diffstat (limited to 'engines/sci/graphics/robot.cpp')
-rw-r--r--engines/sci/graphics/robot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp
index acad07c48e..70f50945e1 100644
--- a/engines/sci/graphics/robot.cpp
+++ b/engines/sci/graphics/robot.cpp
@@ -205,7 +205,7 @@ void GfxRobot::getFrameOffsets() {
for (int i = 1; i < _frameCount + 1; ++i)
_imageStart[i] = _imageStart[i - 1] + audioEnd[i - 1];
for (int i = 0; i < _frameCount; ++i)
- _audioStart[i] = _imageStart[i] + videoEnd[i - 1];
+ _audioStart[i] = _imageStart[i] + videoEnd[i];
for (int i = 0; i < _frameCount; ++i)
_audioLen[i] = _imageStart[i + 1] - _audioStart[i];