aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-03-28 17:46:18 +0000
committerFilippos Karapetis2008-03-28 17:46:18 +0000
commit1e582577915332375e44b8ca97e9e705b1ac00f6 (patch)
tree2b1b4931b49e9c4a85ff642e9d85ccb8c8cfed13 /engines
parent70e450327455a64cb469f8a1f55e4028ce285de2 (diff)
downloadscummvm-rg350-1e582577915332375e44b8ca97e9e705b1ac00f6.tar.gz
scummvm-rg350-1e582577915332375e44b8ca97e9e705b1ac00f6.tar.bz2
scummvm-rg350-1e582577915332375e44b8ca97e9e705b1ac00f6.zip
Oops
svn-id: r31297
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index ed8af2f5c4..698022cc1b 100644
--- a/engines/cine/anim.cpp
+++ b/engines/cine/anim.cpp
@@ -494,7 +494,7 @@ void convert8BBP2(byte * dest, byte * source, int16 width, int16 height) {
for (m = 0; m < 2; m++) {
for (i = 0; i < 8; i++) {
color = 0;
- for (k = 14 + m; k > 0 + m; k = k - 2) {
+ for (k = 14 + m; k >= 0 + m; k = k - 2) {
color |= ((*(source + k) & 0x080) >> 7);
*(source + k) <<= 1;
if (k > 0 + m)