From 39238a9472c64f6416bf855966460bd06585a833 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 28 Apr 2007 06:57:32 +0000 Subject: Ahem. Fixing code formatting. svn-id: r26640 --- engines/cruise/function.cpp | 7 ++----- 1 file 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; -- cgit v1.2.3