aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;