summaryrefslogtreecommitdiff
path: root/src/client/cl_cgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_cgame.c')
-rw-r--r--src/client/cl_cgame.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/cl_cgame.c b/src/client/cl_cgame.c
index 0425cbd6..7e1248a5 100644
--- a/src/client/cl_cgame.c
+++ b/src/client/cl_cgame.c
@@ -877,7 +877,6 @@ or bursted delayed packets.
#define RESET_TIME 500
void CL_AdjustTimeDelta( void ) {
- int resetTime;
int newDelta;
int deltaDelta;
@@ -888,13 +887,6 @@ void CL_AdjustTimeDelta( void ) {
return;
}
- // if the current time is WAY off, just correct to the current value
- if ( com_sv_running->integer ) {
- resetTime = 100;
- } else {
- resetTime = RESET_TIME;
- }
-
newDelta = cl.snap.serverTime - cls.realtime;
deltaDelta = abs( newDelta - cl.serverTimeDelta );