mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
Fixed crash after restart CCMD
This commit is contained in:
parent
d50ba4954a
commit
bfaa09c429
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ CUSTOM_CVAR (Int, am_emptyspacemargin, 0, CVAR_ARCHIVE)
|
|||
self = 90;
|
||||
}
|
||||
|
||||
AM_NewResolution();
|
||||
if (nullptr != StatusBar)
|
||||
{
|
||||
AM_NewResolution();
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue