aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-05-25 09:25:27 +0000
committerMax Horn2005-05-25 09:25:27 +0000
commit7afc24881dfbb6bad7c367a19996abe246640da0 (patch)
tree8afcd7a95bac0643d79b9212c49783f385c42a70 /scumm
parentef9d595a907fb1b33a9ca7cdf3e1ba26a5991a1b (diff)
downloadscummvm-rg350-7afc24881dfbb6bad7c367a19996abe246640da0.tar.gz
scummvm-rg350-7afc24881dfbb6bad7c367a19996abe246640da0.tar.bz2
scummvm-rg350-7afc24881dfbb6bad7c367a19996abe246640da0.zip
Whitespace
svn-id: r18247
Diffstat (limited to 'scumm')
-rw-r--r--scumm/palette.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index 2a8c9eb50c..76c5f72e6d 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -591,7 +591,7 @@ void ScummEngine::setupShadowPalette(int redScale, int greenScale, int blueScale
// There seems to be no explanation for why this function is called
// from within Room 23 (the big machine), as it has no shadow effects
// and thus doesn't result in any visual differences.
-
+
if (_gameId == GID_SAMNMAX) {
for (i = 0; i < 256; i++)
_shadowPalette[i] = i;
@@ -611,8 +611,8 @@ void ScummEngine::setupShadowPalette(int redScale, int greenScale, int blueScale
int ar = compareptr[0] >> 2;
int ag = compareptr[1] >> 2;
int ab = compareptr[2] >> 2;
-
- uint sum = ABS(ar - r) + ABS(ag - g) + ABS(ab - b);
+
+ uint sum = ABS(ar - r) + ABS(ag - g) + ABS(ab - b);
if (sum < bestsum) {
bestsum = sum;
@@ -621,7 +621,6 @@ void ScummEngine::setupShadowPalette(int redScale, int greenScale, int blueScale
}
*table++ = bestitem;
}
-
}
void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int startColor, int endColor) {