diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-27 15:47:29 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:36:32 +0000 |
commit | 34e5d1056d0cd83648db904549a368ef904e2be8 (patch) | |
tree | 94f69d7546b28b8b8854b06526b70934a65c0dc0 /src/server/sv_init.c | |
parent | d28ee7e3da161ae9a9e9f339291001948672dae7 (diff) |
- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71
Diffstat (limited to 'src/server/sv_init.c')
-rw-r--r-- | src/server/sv_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c index c5d11e74..d2326db5 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -643,8 +643,8 @@ void SV_Init (void) sv_serverid = Cvar_Get ("sv_serverid", "0", CVAR_SYSTEMINFO | CVAR_ROM ); sv_pure = Cvar_Get ("sv_pure", "1", CVAR_SYSTEMINFO ); #ifdef USE_VOIP - sv_voip = Cvar_Get ("sv_voip", "1", CVAR_SYSTEMINFO | CVAR_LATCH); - Cvar_CheckRange( sv_voip, 0, 1, qtrue ); + sv_voip = Cvar_Get("sv_voip", "1", CVAR_SYSTEMINFO | CVAR_LATCH); + Cvar_CheckRange(sv_voip, 0, 1, qtrue); #endif Cvar_Get ("sv_paks", "", CVAR_SYSTEMINFO | CVAR_ROM ); Cvar_Get ("sv_pakNames", "", CVAR_SYSTEMINFO | CVAR_ROM ); |