[planetblupi] 38/61: Do not block the game loop when the screen is shifting

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 e0adfd4fedc5eff85ea3ba61fe116fd859d1f3a6
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Thu Oct 26 16:03:47 2017 +0200

    Do not block the game loop when the screen is shifting
    
    It's related to #28.
---
 src/blupi.cxx | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/blupi.cxx b/src/blupi.cxx
index b0d405f..5ed66d2 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -212,11 +212,7 @@ UpdateFrame (void)
     clip.bottom = POSDRAWY + DIMDRAWY;
 
     if (g_pEvent->IsShift ()) // screen shifting
-    {
       g_pEvent->DecorAutoShift ();
-      g_pDecor->Build (clip, posMouse); // build the environment
-    }
-    else
     {
       if (!g_pEvent->GetPause ())
       {

-- 
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