From e0adfd4fedc5eff85ea3ba61fe116fd859d1f3a6 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 26 Oct 2017 16:03:47 +0200 Subject: [PATCH] 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 ()) {