- fixed: Exhumed did not pause when the console was open.

This commit is contained in:
Christoph Oelckers 2020-02-02 00:10:18 +01:00
parent 0e1eeea037
commit ae9ad6612c

View file

@ -2317,7 +2317,7 @@ GAMELOOP:
{ {
static bool frameJustDrawn; static bool frameJustDrawn;
bInMove = kTrue; bInMove = kTrue;
if (!bPause && totalclock >= tclocks + 4) if (!bPause && totalclock >= tclocks + 4 && !GUICapture)
{ {
do do
{ {
@ -2350,6 +2350,10 @@ GAMELOOP:
} while (levelnew < 0 && totalclock >= tclocks + 4); } while (levelnew < 0 && totalclock >= tclocks + 4);
} while (0); } while (0);
} }
else if (GUICapture || bPause)
{
totalclock = tclocks + 4;
}
bInMove = kFalse; bInMove = kFalse;
faketimerhandler(); faketimerhandler();