mirror of
https://github.com/rehlds/revoice.git
synced 2025-03-03 17:15:25 +03:00
Remove redundant null check for g_engfuncs
This commit is contained in:
parent
80baf85885
commit
0ff6507dff
@ -59,7 +59,7 @@ char *UTIL_VarArgs(char *format, ...)
|
|||||||
void UTIL_ServerPrintf(const char *fmt, ...)
|
void UTIL_ServerPrintf(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
// Check is null, test the demo started before than searches pointer to refs
|
// Check is null, test the demo started before than searches pointer to refs
|
||||||
if (&g_engfuncs == nullptr || g_engfuncs.pfnServerPrint == nullptr)
|
if (g_engfuncs.pfnServerPrint == nullptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
static char string[1024];
|
static char string[1024];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user