[colobot] 42/145: Fixed indentation

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 15702ec856cc83d98dd8c8cb67c7ed1624eb1c86
Author: krzys-h <krzys_h at interia.pl>
Date:   Sun Apr 3 20:29:55 2016 +0200

    Fixed indentation
---
 src/level/player_profile.cpp | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/level/player_profile.cpp b/src/level/player_profile.cpp
index 7eba33c..d3603f1 100644
--- a/src/level/player_profile.cpp
+++ b/src/level/player_profile.cpp
@@ -77,35 +77,35 @@ void PlayerApperance::DefPerso()
 }
 
 void PlayerApperance::DefHairColor()
-    {
+{
     if (this->face == 0)  // normal ?
-        {
+    {
         this->colorHair.r = 90.0f / 256.0f;
         this->colorHair.g = 95.0f / 256.0f;
         this->colorHair.b = 85.0f / 256.0f;  // black
-        }
+    }
     if (this->face == 1)  // bald ?
-         {
+    {
         this->colorHair.r = 74.0f / 256.0f;
         this->colorHair.g = 58.0f / 256.0f;
         this->colorHair.b = 46.0f / 256.0f;  // brown
-        }
+    }
     if (this->face == 2)  // carlos ?
-         {
+    {
         this->colorHair.r = 70.0f / 256.0f;
         this->colorHair.g = 40.0f / 256.0f;
         this->colorHair.b = 9.0f / 256.0f;  // brown
-        }
+    }
     if (this->face == 3)  // blond ? -> ginger ?
-         {
+    {
         this->colorHair.r = 74.0f / 256.0f;
         this->colorHair.g = 16.0f / 256.0f;
         this->colorHair.b = 0.0f / 256.0f;  // yellow, changed to ginger
-        }
-    
-        this->colorHair.a = 0.0f;
     }
 
+    this->colorHair.a = 0.0f;
+}
+
 
 CPlayerProfile::CPlayerProfile(std::string playerName)
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list