[Scummvm-git-logs] scummvm branch-3-0 -> c5ce90c19e009df7460015bc2b715e05ce718dd9

sev- noreply at scummvm.org
Sat Nov 15 22:40:40 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
c5ce90c19e DIRECTOR: Partially revert a694f796f, Matte mask generation


Commit: c5ce90c19e009df7460015bc2b715e05ce718dd9
    https://github.com/scummvm/scummvm/commit/c5ce90c19e009df7460015bc2b715e05ce718dd9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-11-15T23:40:31+01:00

Commit Message:
DIRECTOR: Partially revert a694f796f, Matte mask generation

This fixes Willy Wabbit and in general was part of attempt
to fix what ended up with b5c19491a018

Changed paths:
    engines/director/castmember/bitmap.cpp


diff --git a/engines/director/castmember/bitmap.cpp b/engines/director/castmember/bitmap.cpp
index 0422ddeb2e2..726534b1c90 100644
--- a/engines/director/castmember/bitmap.cpp
+++ b/engines/director/castmember/bitmap.cpp
@@ -555,10 +555,6 @@ void BitmapCastMember::createMatte(const Common::Rect &bbox) {
 	bool colorFound = false;
 	const byte *palette = g_director->getPalette();
 
-	if (_picture->getPaletteCount() > 0) {
-		palette = _picture->_palette;
-	}
-
 	if (tmp.format.isCLUT8()) {
 		for (int y = 0; y < tmp.h; y++) {
 			for (int x = 0; x < tmp.w; x++) {




More information about the Scummvm-git-logs mailing list