]> git.xonotic.org Git - xonotic/darkplaces.git/commit
added cl_nettimesyncmode cvar to choose the method of synchronizing cl.time, it defau...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Feb 2007 23:38:01 +0000 (23:38 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Feb 2007 23:38:01 +0000 (23:38 +0000)
commitd83a177d3b84b0f286a21d86c1d3e34b13908e52
tree48fa17b99249010e209eab971628090a74150299
parenta465c5013fb834e443713a364087e6c7b3caaacd
added cl_nettimesyncmode cvar to choose the method of synchronizing cl.time, it defaults to resetting the cl.time to the previous packet's time, but only when it is out of bounds (meaning it increases it if it is falling behind, and snaps it back to the previous packet time if it exceeds this packet's time, which eliminates accumulated error)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6836 d7cf8633-e32d-0410-b094-e92efae38249
cl_main.c
cl_parse.c
client.h