qboolean Host_IsLocalGame( void ) { if( host.type != HOST_DEDICATED ) if( CL_Active() && SV_Active() && CL_GetMaxClients() == 1 ) return true; return false; }
//====================================================================== qboolean CL_IsInGame( void ) { if( Host_IsDedicated() ) return true; // always active for dedicated servers if( CL_GetMaxClients() > 1 ) return true; // always active for multiplayer return ( cls.key_dest == key_game ); // active if not menu or console }
//====================================================================== qboolean CL_IsInGame( void ) { if( host.type == HOST_DEDICATED ) return true; // always active for dedicated servers if( CL_GetMaxClients() > 1 ) return true; // always active for multiplayer return ( cls.key_dest == key_game ); // active if not menu or console }
qboolean Host_IsLocalGame( void ) { if( CL_Active() && SV_Active() && CL_GetMaxClients() == 1 ) return true; return false; }