mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +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