aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-12 17:27:27 +0200
committerEugene Sandulenko2016-05-12 17:27:27 +0200
commita3985f38ac536b5a81c13aaeb31de165074e9c6d (patch)
treec8d0efe090d8f3c084bbd00c7a75859ccc7cfa9e
parentc5ed11eaede54c6e7fafd210431a4c617708ca3e (diff)
downloadscummvm-rg350-a3985f38ac536b5a81c13aaeb31de165074e9c6d.tar.gz
scummvm-rg350-a3985f38ac536b5a81c13aaeb31de165074e9c6d.tar.bz2
scummvm-rg350-a3985f38ac536b5a81c13aaeb31de165074e9c6d.zip
SCUMM HE: Force full screen dirty on FOW drawing
-rw-r--r--engines/scumm/he/wiz_he.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 8e2ac8a2c0..2a9f7ec102 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1577,6 +1577,10 @@ uint8 *Wiz::drawWizImage(int resNum, int state, int maskNum, int maskState, int
state == _vm->_moonbase->_fowSentinelState &&
conditionBits == _vm->_moonbase->_fowSentinelConditionBits) {
_vm->_moonbase->renderFOW(dst, dstPitch, dstType, cw, ch, flags);
+ x1 = 0;
+ y1 = 0;
+ width = rScreen.width();
+ height = rScreen.height();
} else {
drawWizImageEx(dst, dataPtr, mask, dstPitch, dstType, cw, ch, x1, y1, width, height,
state, &rScreen, flags, palPtr, transColor, _vm->_bytesPerPixel, xmapPtr, conditionBits);