mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 22:42:07 +00:00
- add null check for the defcvars blacklist
This commit is contained in:
parent
3c8c484327
commit
6ea1b68a1c
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void D_GrabCVarDefaults()
|
|||
|
||||
var = FindCVar(CurrentFindCVar.GetChars(), NULL);
|
||||
|
||||
if (var->GetFlags() & CVAR_SYSTEM_ONLY)
|
||||
if (var && var->GetFlags() & CVAR_SYSTEM_ONLY)
|
||||
blacklisted = true;
|
||||
|
||||
if (blacklisted)
|
||||
|
|
Loading…
Reference in a new issue