[Scummvm-git-logs] scummvm master -> 05a4e55634e30e9a6cdeec78b67e962ec802e2b1
sluicebox
22204938+sluicebox at users.noreply.github.com
Fri May 21 16:53:51 UTC 2021
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:
05a4e55634 SCI32: Fix color comparison typo in previous commit
Commit: 05a4e55634e30e9a6cdeec78b67e962ec802e2b1
https://github.com/scummvm/scummvm/commit/05a4e55634e30e9a6cdeec78b67e962ec802e2b1
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-05-21T10:53:15-06:00
Commit Message:
SCI32: Fix color comparison typo in previous commit
Changed paths:
engines/sci/graphics/transitions32.cpp
diff --git a/engines/sci/graphics/transitions32.cpp b/engines/sci/graphics/transitions32.cpp
index d951cac33f..7b9ac9e63e 100644
--- a/engines/sci/graphics/transitions32.cpp
+++ b/engines/sci/graphics/transitions32.cpp
@@ -217,7 +217,7 @@ void GfxTransitions32::kernelSetShowStyle(const uint16 argc, const reg_t planeOb
// Example: GK1 room 471 which dissolves from an already black screen to black.
if (type == kShowStyleDissolve && g_sci->getPlatform() == Common::kPlatformMacintosh) {
if (color == 0) {
- color == 255;
+ color = 255;
} else if (color == 255) {
color = 0;
}
More information about the Scummvm-git-logs
mailing list