[planetblupi] 39/61: Cosmetic: fix indent after previous commit

Didier Raboud odyx at moszumanska.debian.org
Thu Nov 2 19:24:57 UTC 2017


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

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

commit dfc729739cd16cb86301f3da7c2e40c9a614a41f
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Thu Oct 26 17:06:28 2017 +0200

    Cosmetic: fix indent after previous commit
---
 src/blupi.cxx | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/src/blupi.cxx b/src/blupi.cxx
index 5ed66d2..8f9303a 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -213,22 +213,21 @@ UpdateFrame (void)
 
     if (g_pEvent->IsShift ()) // screen shifting
       g_pEvent->DecorAutoShift ();
+
+    if (!g_pEvent->GetPause ())
     {
-      if (!g_pEvent->GetPause ())
+      speed = g_pEvent->GetSpeed () * g_speedRate;
+      for (i = 0; i < speed; i++)
       {
-        speed = g_pEvent->GetSpeed () * g_speedRate;
-        for (i = 0; i < speed; i++)
-        {
-          g_pDecor->BlupiStep (i == 0); // move all blupi
-          g_pDecor->MoveStep (i == 0);  // move the environment
-          g_pEvent->DemoStep ();        // forward the recording or demo playing
-        }
+        g_pDecor->BlupiStep (i == 0); // move all blupi
+        g_pDecor->MoveStep (i == 0);  // move the environment
+        g_pEvent->DemoStep ();        // forward the recording or demo playing
       }
-
-      g_pEvent->DecorAutoShift ();
-      g_pDecor->Build (clip, posMouse); // build the environment
-      g_pDecor->NextPhase (1);          // rebuild the map sometimes
     }
+
+    g_pEvent->DecorAutoShift ();
+    g_pDecor->Build (clip, posMouse); // build the environment
+    g_pDecor->NextPhase (1);          // rebuild the map sometimes
   }
 
   if (phase == EV_PHASE_BUILD)

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



More information about the Pkg-games-commits mailing list