[Scummvm-git-logs] scummvm branch-2-7 -> bc690a390b781cb6acf994459b7873db05bd04b5

sdelamarre noreply at scummvm.org
Sat Jan 28 13:08:46 UTC 2023


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

Summary:
bc690a390b GOB: transparency fix in some Adibou2 static images


Commit: bc690a390b781cb6acf994459b7873db05bd04b5
    https://github.com/scummvm/scummvm/commit/bc690a390b781cb6acf994459b7873db05bd04b5
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-01-28T14:08:21+01:00

Commit Message:
GOB: transparency fix in some Adibou2 static images

Fix black background around icons in Application selection screen.

Changed paths:
    engines/gob/inter_v7.cpp


diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index aa88f7059f6..af9e2be3c45 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -863,7 +863,7 @@ void Inter_v7::o7_loadImage() {
 
 	int16 right  = left + width  - 1;
 	int16 bottom = top  + height - 1;
-	destSprite->blit(*image, left, top, right, bottom, x, y, transp);
+	destSprite->blit(*image, left, top, right, bottom, x, y, (transp == 0) ? -1 : 0);
 }
 
 void Inter_v7::o7_setVolume() {




More information about the Scummvm-git-logs mailing list