aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2007-04-28 06:57:32 +0000
committerEugene Sandulenko2007-04-28 06:57:32 +0000
commit39238a9472c64f6416bf855966460bd06585a833 (patch)
tree61b072e4832ef1dc826f194ae69b15cd2307f034 /engines
parent6ba72121ad547a5bacaa2c89215ca6f48653f46a (diff)
downloadscummvm-rg350-39238a9472c64f6416bf855966460bd06585a833.tar.gz
scummvm-rg350-39238a9472c64f6416bf855966460bd06585a833.tar.bz2
scummvm-rg350-39238a9472c64f6416bf855966460bd06585a833.zip
Ahem. Fixing code formatting.
svn-id: r26640
Diffstat (limited to 'engines')
-rw-r--r--engines/cruise/function.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp
index 1acf330638..5a996479a3 100644
--- a/engines/cruise/function.cpp
+++ b/engines/cruise/function.cpp
@@ -953,8 +953,7 @@ int16 Op_SetColor(void) {
#define convertRatio 36.571428571428571428571428571429
- for(i=startIdx; i<=endIdx; i++)
- {
+ for(i=startIdx; i<=endIdx; i++) {
R = (int)(colorR*convertRatio);
G = (int)(colorG*convertRatio);
B = (int)(colorB*convertRatio);
@@ -972,9 +971,7 @@ int16 Op_SetColor(void) {
lpalette[colorIdx].R = R;
lpalette[colorIdx].G = G;
lpalette[colorIdx].B = B;
- }
- else
- {
+ } else {
lpalette[i].R = R;
lpalette[i].G = G;
lpalette[i].B = B;