Patch from Tim Angus, to fix a longstanding bug

in the server, wherein running the server for
more than 24 hours would cause the game to
exhibit weirdness as described here:
http://forums.wireheadstudios.org/index.php?act=ST&f=11&t=2749

That page would also indicate that more work
needs to be done if the map isn't going to change
for more than 24 hours.
This commit is contained in:
Zachary Slater 2005-09-17 01:36:38 +00:00
parent 40592957b4
commit 4bee7b4134
6 changed files with 21 additions and 13 deletions

View file

@ -160,7 +160,7 @@ static void SV_WriteSnapshotToClient( client_t *client, msg_t *msg ) {
// send over the current server time so the client can drift
// its view of time to try to match
MSG_WriteLong (msg, svs.time);
MSG_WriteLong (msg, sv.time);
// what we are delta'ing from
MSG_WriteByte (msg, lastframe);