aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/graphics.cpp')
-rw-r--r--engines/m4/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/graphics.cpp b/engines/m4/graphics.cpp
index 09072036fd..55dd6158bf 100644
--- a/engines/m4/graphics.cpp
+++ b/engines/m4/graphics.cpp
@@ -768,7 +768,7 @@ void Palette::grabPalette(byte *colors, uint start, uint num) {
}
void Palette::setEntry(uint index, uint8 r, uint8 g, uint8 b) {
- uint32 c = (r << 16) | (g << 8) || b;
+ uint32 c = (r << 16) | (g << 8) | b;
g_system->setPalette((const byte *)&c, index, 1);
}