aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-04 13:13:14 +0000
committerJohannes Schickel2009-04-04 13:13:14 +0000
commitefa4e918d22c55e013401fa22d8596f945d2cf88 (patch)
treef43d1dee6eb9921e1e268d6806389dd3d18acc43 /engines
parent31118416ab2bcd10513fcec1da73d14cd8d4a688 (diff)
downloadscummvm-rg350-efa4e918d22c55e013401fa22d8596f945d2cf88.tar.gz
scummvm-rg350-efa4e918d22c55e013401fa22d8596f945d2cf88.tar.bz2
scummvm-rg350-efa4e918d22c55e013401fa22d8596f945d2cf88.zip
Fix warning.
svn-id: r39837
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gfx/res_view1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/res_view1.cpp b/engines/sci/gfx/res_view1.cpp
index 545764c555..68f5ad4cff 100644
--- a/engines/sci/gfx/res_view1.cpp
+++ b/engines/sci/gfx/res_view1.cpp
@@ -125,7 +125,7 @@ static int decompress_sci_view(int id, int loop, int cel, byte *resource, byte *
if (op & V1_RLE_BG)
memset(dest + writepos, color_key, bytes);
else {
- int color = resource[literal_pos];
+ color = resource[literal_pos];
NEXT_LITERAL_BYTE(1);
memset(dest + writepos, color, bytes);