aboutsummaryrefslogtreecommitdiff
path: root/scumm/wiz_he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-07 15:01:31 +0000
committerTravis Howell2005-04-07 15:01:31 +0000
commitbac8f7a90c8f9fc5a92623a877c25062edc81607 (patch)
tree129e066e855328100d2ea8890cbe4539ee651a87 /scumm/wiz_he.cpp
parente83559ce1c411f8f9a875b67887f4bce273ee691 (diff)
downloadscummvm-rg350-bac8f7a90c8f9fc5a92623a877c25062edc81607.tar.gz
scummvm-rg350-bac8f7a90c8f9fc5a92623a877c25062edc81607.tar.bz2
scummvm-rg350-bac8f7a90c8f9fc5a92623a877c25062edc81607.zip
Ooops
svn-id: r17442
Diffstat (limited to 'scumm/wiz_he.cpp')
-rw-r--r--scumm/wiz_he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp
index 8abc0c5d7b..1f17c3ce8d 100644
--- a/scumm/wiz_he.cpp
+++ b/scumm/wiz_he.cpp
@@ -414,7 +414,7 @@ dec_sub2: w -= code;
if (w < 0) {
code += w;
}
- uint8 color = imagePal[*dataPtr++];
+ uint8 color = palPtr[*dataPtr++];
memset(dstPtr, color, code);
dstPtr += code;
} else {
@@ -423,7 +423,7 @@ dec_sub3: w -= code;
code += w;
}
while (code--) {
- *dstPtr++ = imagePal[*dataPtr++];
+ *dstPtr++ = palPtr[*dataPtr++];
}
}
}