aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSven Hesse2009-07-26 13:50:18 +0000
committerSven Hesse2009-07-26 13:50:18 +0000
commit997f7b9a3b261b263c70f36e262849058b65d54f (patch)
tree76366f99c37613b18eae7bd8a80af621fdf1ab5d /graphics
parent3fb1b79018952e2106342ee685dde0fd2e0d9315 (diff)
downloadscummvm-rg350-997f7b9a3b261b263c70f36e262849058b65d54f.tar.gz
scummvm-rg350-997f7b9a3b261b263c70f36e262849058b65d54f.tar.bz2
scummvm-rg350-997f7b9a3b261b263c70f36e262849058b65d54f.zip
Reverting my fix for bug #2037158 ("In-Game animation shifted(?)"), because it breaks Woodruff's intro
svn-id: r42809
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/coktelvideo/coktelvideo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp
index 622d68d98e..0710a1775d 100644
--- a/graphics/video/coktelvideo/coktelvideo.cpp
+++ b/graphics/video/coktelvideo/coktelvideo.cpp
@@ -1801,9 +1801,7 @@ uint32 Vmd::renderFrame(int16 &left, int16 &top, int16 &right, int16 &bottom) {
int16 h = MIN(height, sH);
for (int i = 0; i < h; i++) {
- for (int j = 0; j < w; j++)
- if (srcPtr[j])
- dest[j] = srcPtr[j];
+ memcpy(dest, srcPtr, w);
srcPtr += postScaleX(width);
dest += sW;