engine: server: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty

This commit is contained in:
Alibek Omarov
2026-02-21 00:04:30 +05:00
committed by a1batross
parent eacc35d9e1
commit de70e12bbe
10 changed files with 56 additions and 55 deletions

View File

@@ -550,7 +550,7 @@ void SV_GetPlayerCount( int *clients, int *bots );
static inline qboolean SV_HavePassword( void )
{
if( COM_CheckStringEmpty( sv_password.string ) && Q_stricmp( sv_password.string, "none" ))
if( !COM_StringEmpty( sv_password.string ) && Q_stricmp( sv_password.string, "none" ))
return true;
return false;