aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/palette.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-08-17 20:30:20 -0700
committerPaul Gilbert2018-08-17 20:30:20 -0700
commit11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch)
treeebb245cf6617e1ac0b35bf3681307bcbc541b230 /engines/scumm/palette.cpp
parentc8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff)
downloadscummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip
JANITORIAL: Removing trailing spaces after int casts
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;