[Scummvm-git-logs] scummvm master -> 037cf68a809b2c709d3ebab0b585220edf87bc5b
sdelamarre
noreply at scummvm.org
Sat Jan 28 13:09:14 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:
037cf68a80 GOB: transparency fix in some Adibou2 static images
Commit: 037cf68a809b2c709d3ebab0b585220edf87bc5b
https://github.com/scummvm/scummvm/commit/037cf68a809b2c709d3ebab0b585220edf87bc5b
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-01-28T14:09:04+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