[Scummvm-git-logs] scummvm master -> 82a1d05d7803fcf6a3dba26617ed374cb70aa4e6
aquadran
noreply at scummvm.org
Mon Dec 20 18:26:27 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:
82a1d05d78 ICB: Fixed coverity error
Commit: 82a1d05d7803fcf6a3dba26617ed374cb70aa4e6
https://github.com/scummvm/scummvm/commit/82a1d05d7803fcf6a3dba26617ed374cb70aa4e6
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-12-20T19:26:21+01:00
Commit Message:
ICB: Fixed coverity error
Changed paths:
engines/icb/drawpoly_pc.cpp
diff --git a/engines/icb/drawpoly_pc.cpp b/engines/icb/drawpoly_pc.cpp
index 15e1a16461..090ef00e48 100644
--- a/engines/icb/drawpoly_pc.cpp
+++ b/engines/icb/drawpoly_pc.cpp
@@ -1883,7 +1883,7 @@ void drawFTL3PC(uint32 *polyStart, const uint32 n, SVECTORPC *pVertex, SVECTOR *
} else {
// No light source calculation
// So just set base colour
- setRGB0(poly, rgbIn.r, rgbIn.b, rgbIn.b);
+ setRGB0(poly, rgbIn.r, rgbIn.g, rgbIn.b);
}
if (selFace == i) {
setRGB0(poly, selPRed, selPGreen, selPBlue);
More information about the Scummvm-git-logs
mailing list