mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-14 04:31:05 +00:00
add source-sdk-2013
This commit is contained in:
@@ -37,7 +37,7 @@ ConVar voice_serverdebug( "voice_serverdebug", "0" );
|
||||
|
||||
// Set game rules to allow all clients to talk to each other.
|
||||
// Muted players still can't talk to each other.
|
||||
ConVar sv_alltalk( "sv_alltalk", "0", FCVAR_NOTIFY | FCVAR_REPLICATED, "Players can hear all other players, no team restrictions" );
|
||||
ConVar sv_alltalk( "sv_alltalk", "0", FCVAR_NOTIFY, "Players can hear all other players, no team restrictions" );
|
||||
|
||||
|
||||
CVoiceGameMgr g_VoiceGameMgr;
|
||||
@@ -48,7 +48,6 @@ CVoiceGameMgr g_VoiceGameMgr;
|
||||
// ------------------------------------------------------------------------ //
|
||||
|
||||
// Find a player with a case-insensitive name search.
|
||||
#if 0
|
||||
static CBasePlayer* FindPlayerByName(const char *pTestName)
|
||||
{
|
||||
for(int i=1; i <= gpGlobals->maxClients; i++)
|
||||
@@ -70,7 +69,6 @@ static CBasePlayer* FindPlayerByName(const char *pTestName)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void VoiceServerDebug( const char *pFmt, ... )
|
||||
{
|
||||
@@ -289,4 +287,4 @@ bool CVoiceGameMgr::CheckProximity( int iDistance )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user