engine: server: add function SV_HavePassword that correctly checks whether this server have set up password

This commit is contained in:
Alibek Omarov
2024-07-07 02:09:48 +03:00
parent b6967a432a
commit dc6f03b4e4
3 changed files with 27 additions and 10 deletions

View File

@@ -548,6 +548,7 @@ void SV_UpdateServerInfo( void );
void SV_EndRedirect( host_redirect_t *rd );
void SV_RejectConnection( netadr_t from, const char *fmt, ... ) _format( 2 );
void SV_GetPlayerCount( int *clients, int *bots );
qboolean SV_HavePassword( void );
//
// sv_cmds.c