aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/coktelvideo.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-12-16 20:21:29 +0000
committerSven Hesse2008-12-16 20:21:29 +0000
commit4d3a4a85f61995c502da0870a691d20f333b63b9 (patch)
tree325cda091e4c6729cfe415bda6c529fa94d21742 /engines/gob/coktelvideo.cpp
parent94c14c7c78a911d0f58949937eaf279fdda2a5bc (diff)
downloadscummvm-rg350-4d3a4a85f61995c502da0870a691d20f333b63b9.tar.gz
scummvm-rg350-4d3a4a85f61995c502da0870a691d20f333b63b9.tar.bz2
scummvm-rg350-4d3a4a85f61995c502da0870a691d20f333b63b9.zip
Rotating the object backwards in the magnifing view works now
svn-id: r35396
Diffstat (limited to 'engines/gob/coktelvideo.cpp')
-rw-r--r--engines/gob/coktelvideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp
index c86ac48459..b7d13333b3 100644
--- a/engines/gob/coktelvideo.cpp
+++ b/engines/gob/coktelvideo.cpp
@@ -1213,7 +1213,7 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) {
if (!_vidMem)
setVideoMemory();
- for (uint16 i = 0; i < _partsPerFrame; i++) {
+ for (uint16 i = 0; (i < _partsPerFrame) && (frame < _framesCount); i++) {
Part &part = _frames[frame].parts[i];
if (part.type == kPartTypeAudio) {