aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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);