mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Crashfix: Don't refesh the screen using prints during engine shutdown.
This commit is contained in:
parent
4e0199b75c
commit
86b94dc8be
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue