aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/palette.cpp')
-rw-r--r--engines/scumm/palette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index 5275f1e942..aeb40df003 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -878,9 +878,9 @@ void ScummEngine::setShadowPalette(int redScale, int greenScale, int blueScale,
}
for (i = start; i < end; i++) {
- int r = (int) ((pal[0] >> 2) * redScale) >> 8;
- int g = (int) ((pal[1] >> 2) * greenScale) >> 8;
- int b = (int) ((pal[2] >> 2) * blueScale) >> 8;
+ int r = (int)((pal[0] >> 2) * redScale) >> 8;
+ int g = (int)((pal[1] >> 2) * greenScale) >> 8;
+ int b = (int)((pal[2] >> 2) * blueScale) >> 8;
pal += 3;
uint8 bestitem = 0;