engine: server: fix incorrect NULL check in pfnCvar_RegisterServerVariable
This commit is contained in:
parent
f070bbef3c
commit
6881ee742d
1 changed files with 3 additions and 1 deletions
|
@ -2810,8 +2810,10 @@ standard path to register game variable
|
|||
static void GAME_EXPORT pfnCvar_RegisterServerVariable( cvar_t *variable )
|
||||
{
|
||||
if( variable != NULL )
|
||||
{
|
||||
SetBits( variable->flags, FCVAR_EXTDLL );
|
||||
Cvar_RegisterVariable( (convar_t *)variable );
|
||||
Cvar_RegisterVariable( (convar_t *)variable );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue