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:
parent
f2a7579f02
commit
e0adfd4fed
@ -212,11 +212,7 @@ UpdateFrame (void)
|
|||||||
clip.bottom = POSDRAWY + DIMDRAWY;
|
clip.bottom = POSDRAWY + DIMDRAWY;
|
||||||
|
|
||||||
if (g_pEvent->IsShift ()) // screen shifting
|
if (g_pEvent->IsShift ()) // screen shifting
|
||||||
{
|
|
||||||
g_pEvent->DecorAutoShift ();
|
g_pEvent->DecorAutoShift ();
|
||||||
g_pDecor->Build (clip, posMouse); // build the environment
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if (!g_pEvent->GetPause ())
|
if (!g_pEvent->GetPause ())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user