aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-12 00:33:14 +0200
committerEugene Sandulenko2016-05-12 00:33:14 +0200
commit7af451f84fa2122aa7df7f09385fac3bc298b250 (patch)
tree7858ca9b9cb6516e48d1455850b8885a2007e9e7 /engines/scumm
parentc90bdfa6f46403ccf27d7ae5e2283381f61507ac (diff)
downloadscummvm-rg350-7af451f84fa2122aa7df7f09385fac3bc298b250.tar.gz
scummvm-rg350-7af451f84fa2122aa7df7f09385fac3bc298b250.tar.bz2
scummvm-rg350-7af451f84fa2122aa7df7f09385fac3bc298b250.zip
SCUMM HE: Fix errorneous clearing of the condition bits
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/wiz_he.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 361c53f758..132074760a 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1763,8 +1763,6 @@ void Wiz::copyCompositeWizImage(uint8 *dst, uint8 *wizPtr, uint8 *compositeInfoB
if (layerCmdDataBits & kWCFSubConditionBits) {
subConditionBits = READ_LE_UINT32(cmdPtr);
cmdPtr += 4;
- } else {
- subConditionBits = 0;
}
drawWizImageEx(dst, nestedWizHeader, maskPtr, dstPitch, dstType, dstw, dsth, srcx + xPos, srcy + yPos, srcw, srch,