mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- added a nullptr check for StatusBar when drawing „Paused“
It looks like some edge cases can trigger this.
This commit is contained in:
parent
c4408d8536
commit
7c2d315479
1 changed files with 1 additions and 1 deletions
|
@ -1039,7 +1039,7 @@ void D_Display ()
|
|||
CT_Drawer ();
|
||||
|
||||
// draw pause pic
|
||||
if ((paused || pauseext) && menuactive == MENU_Off)
|
||||
if ((paused || pauseext) && menuactive == MENU_Off && StatusBar != nullptr)
|
||||
{
|
||||
// [MK] optionally let the status bar handle this
|
||||
bool skip = false;
|
||||
|
|
Loading…
Reference in a new issue