aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-10-31 13:15:49 +0000
committerTravis Howell2009-10-31 13:15:49 +0000
commitf7fcec1ce283ab5536358334193244f6b4d9a3ee (patch)
tree51c3e970e8abb76d567e54232c146e004beee8cf /engines
parent773bc170a3f99c26fe061ff31ab98999147e60cc (diff)
downloadscummvm-rg350-f7fcec1ce283ab5536358334193244f6b4d9a3ee.tar.gz
scummvm-rg350-f7fcec1ce283ab5536358334193244f6b4d9a3ee.tar.bz2
scummvm-rg350-f7fcec1ce283ab5536358334193244f6b4d9a3ee.zip
The verb images for distaff have no mask data, in PCE version of Loom.
svn-id: r45559
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 8fd3b1b17c..78b718d4cf 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -2714,10 +2714,10 @@ void GdiPCEngine::decodeStrip(const byte *ptr, uint16 *tiles, byte *colors, uint
* read mask indices
*/
- if (_PCE.maskIDSize == 0 || numRows > 18) {
+ if (_distaff || _PCE.maskIDSize == 0 || numRows > 18) {
return;
}
-
+
rowIndex = 0;
while (rowIndex < numRows) {
cmd = *ptr++;