Crashfix: Don't refesh the screen using prints during engine shutdown.

This commit is contained in:
Robert Beckebans 2022-06-08 21:10:36 +02:00
parent 4e0199b75c
commit 86b94dc8be

View file

@ -409,7 +409,7 @@ This is an out-of-sequence screen update, not the normal game rendering
// DG: added possibility to *not* release mouse in UpdateScreen(), it fucks up the view angle for screenshots
void idCommonLocal::UpdateScreen( bool captureToImage, bool releaseMouse )
{
if( insideUpdateScreen )
if( insideUpdateScreen || com_shuttingDown )
{
return;
}