diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-13 17:11:30 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:27:30 +0000 |
commit | 2bf2118d79994cfd805c3ffb5b421c6a65658b84 (patch) | |
tree | 867a9c4ac0d975e7aca4ee20714de8c97646ccde /src/server/sv_init.c | |
parent | 5038ffeb97413a867d0bdadf761e2ba727781742 (diff) |
- Improve snapshot rate and data rate control - Make server send packet fragments and queued packets when server is idle - Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary - Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much - Disable packet scrambling for new protocol as it is useless now - Get rid of the old packet scrambling functions predating latest point release - Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak when client gets disconnected with packets in the queue - Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when client gets disconnected with download blocks in the queue - Fix SV_RateMsec to account for udp/udp6 packet lengths
Diffstat (limited to 'src/server/sv_init.c')
-rw-r--r-- | src/server/sv_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c index e29cd2dc..d2e51d9f 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -700,7 +700,7 @@ void SV_FinalMessage( char *message ) { SV_SendServerCommand( cl, "disconnect \"%s\"", message ); } // force a snapshot to be sent - cl->nextSnapshotTime = -1; + cl->lastSnapshotTime = 0; SV_SendClientSnapshot( cl ); } } |