[Scummvm-git-logs] scummvm master -> 800d48f9daec31afcae7192a18e985fabb4ad5f4

bluegr noreply at scummvm.org
Tue Jan 17 11:37:50 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:
800d48f9da SLUDGE: Fix channel mapping in setBurnColor


Commit: 800d48f9daec31afcae7192a18e985fabb4ad5f4
    https://github.com/scummvm/scummvm/commit/800d48f9daec31afcae7192a18e985fabb4ad5f4
Author: Sebastian Krzyszkowiak (dos at dosowisko.net)
Date: 2023-01-17T13:37:44+02:00

Commit Message:
SLUDGE: Fix channel mapping in setBurnColor

Changed paths:
    engines/sludge/graphics.h


diff --git a/engines/sludge/graphics.h b/engines/sludge/graphics.h
index f74e5275e44..08e15e82e99 100644
--- a/engines/sludge/graphics.h
+++ b/engines/sludge/graphics.h
@@ -167,7 +167,7 @@ public:
 	// Colors
 	void setBlankColor(int r, int g, int b) { _currentBlankColour = _renderSurface.format.RGBToColor(r & 255, g & 255, b & 255);};
 	void setBurnColor(int r, int g, int b) {
-		_currentBurnG = r;
+		_currentBurnR = r;
 		_currentBurnG = g;
 		_currentBurnB = b;
 	}




More information about the Scummvm-git-logs mailing list