1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Do not block the game loop when the screen is shifting

It's related to #28.
This commit is contained in:
Mathieu Schroeter 2017-10-26 16:03:47 +02:00
parent f2a7579f02
commit e0adfd4fed

View File

@ -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 ())
{