aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-14 20:30:36 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commitc520b452475abd4584111d365dcd17738e20e6f0 (patch)
tree3e25a53d913b528b4caba383bc46c46de99f7777
parent82daeb9e62edb0901fe5b7dfb3f7197611fb7012 (diff)
downloadscummvm-rg350-c520b452475abd4584111d365dcd17738e20e6f0.tar.gz
scummvm-rg350-c520b452475abd4584111d365dcd17738e20e6f0.tar.bz2
scummvm-rg350-c520b452475abd4584111d365dcd17738e20e6f0.zip
DIRECTOR: Fix Matte Ink.
Mask mode was not specified at the addSeed() time.
-rw-r--r--engines/director/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 00d12adad6..579eec17f5 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -871,7 +871,7 @@ void Frame::drawMatteSprite(Graphics::ManagedSurface &target, const Graphics::Su
Graphics::Surface tmp;
tmp.copyFrom(sprite);
- Graphics::FloodFill ff(&tmp, *(byte *)tmp.getBasePtr(0, 0), 0);
+ Graphics::FloodFill ff(&tmp, *(byte *)tmp.getBasePtr(0, 0), 0, true);
for (int yy = 0; yy < tmp.h; yy++) {
ff.addSeed(0, yy);